The page statement terminates the current page of output, prints the optional footing, positions to the top of the form, and prints the optional heading.
page {num.exp}
num.exp | Optional expression used to change the current value of the page number. |
This example forces a new page if the attribute to be printed starts with the string .bp.
heading "this is a heading" lines = dcount(item,char(254)) for i = 1 to lines l=item<i> if l[1,3]=’.bp’ then page else print l next i