PAGE statement
Starts a new output page for PAGED output. No action is taken if output is already positioned at the beginning of a page.
Syntax
STREAMstream
STREAM-HANDLEhandle
ExampleThis procedure prints a customer report, categorized by state, and starts a new page for each state:
Notes
- If the current output destination is not a paged device (you did not use the PAGED option in the OUTPUT TO statement), the PAGE statement has no effect.
- PAGE has no effect if you are already at the top of a new page.
- If any PAGE-TOP or PAGE-BOTTOM frames are active, they are output prior to the next display.
- For more information on streams and stream handles, see the chapter on alternate I/O sources in OpenEdge Development: Programming Interfaces.
See alsoDEFINE STREAM statement, OUTPUT TO statement, Stream object handle
OpenEdge Release 10.2B
|