you specify break fields. For example, if you want to print the total of the SALES field for each page, specify the prompts as follows: If you want to print the total of the SALES field only for page breaks, specify the prompts as follows: You can concatenate summary data with other summary data, constants, and reserved variable names as follows: 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. 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: You can define reserved variable data both in a page layout and in a record layout. v Text element v Bar code element v Box element v Line element v Page segment element v Graphics element Text data.......... &SALES (*TOTAL). . . Print at page break only . . N Text data.......... &SALES (*TOTAL). . . Print at page break only . . Y *L001> *T002> &SALES(TOTALS) is for &PRODUCT (*FIRST).. &SALES (*TOTAL). as of &*DATE.. 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 “Design Record Layout” on page 162 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. This is an optional step. If no conditions are specified for record selection from this display, all records in the database file member are printed. Chapter 10. Work with PFD Definitions 183 Specify Record Selection