Syntax:
Then: page
Available only for reports.
Version Ref: 3.x
Description:
Forces end of page when printing reports.
PAGE, in conjunction with the system-maintained field @LC, "line count," is used to set a particular page size for reports. When PAGE is encountered on an output processing table, the program does a form feed and prints the report's heading at the top of the next page.
Examples:
To obtain a new page every 45 lines or whenever the total dollar amount on the page exceeds $1000.00. You could set up the processing as follows:
Then: to(7,.2,g)=tot(10)
If: @lc eq 45 or to ge "1000.00"
Then: page; to= ""
where "to" is the total field and "@lc" is the system-maintained line-count field.