page statement

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.


Note: The page statement works only when a heading or footing statement has been previously defined and is active.


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
if l[1,3]=’.bp’ then page else print l
next i