Text data . . . . . . . . . . &SALES(\TOTAL).
.
.
.
Print at page break only . . N
If you want to print the total of the SALES field only for page breaks, specify the
prompts as follows:
Text data . . . . . . . . . . &SALES(\TOTAL).
.
.
.
Print at page break only . . Y
You can concatenate summary data with other summary data, constants, and
reserved variable names as follows:
&SALES(\TOTAL). is for &PRODUCT(\FIRST)..
&SALES(\TOTAL). as of &\DATE..
You can also specify the following elements to be printed only when a page break
occurs. For example, you can print them as the header and the frame of summary
data.
Text element
Bar code element
Box element
Line element
Page segment element
Graphics element
To print an element only when a page break occurs, specify Y for the

Print at page

break only

prompt on the detail display such as the Define Line Detail display.
When the element is specified to be printed only when a page break occurs, the
mark on the design display is displayed with the character '>' after the element
number as follows:
\Lðð1>
\Tðð2>
You can define reserved variable data both in a page layout and in a record layout.
Note: The value used for the *RCDNBR special value in a page layout is the
record number of the last record on the page.
See page 159 for more information.
When you have completed the design of the page layout, press the F3 key to exit
from the Design Page Layout display.
178 AFP Utilities for AS/400 User’s Guide