Page_End_State - Report
If this property is set true below the forward send statement in the starting_main_report procedure, then the next page_check will cause an end-of-page/new-page sequence
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer Page_End_State
| Access Type | Syntax |
|---|---|
| Read Access: | Get Page_End_State to IntegerVariable |
| Write Access: | Set Page_End_State to IntegerVariable/Value |
Description
If Page_end_state is set true below the forward send statement in the starting_main_report procedure, then the next page_check (normally executed as part of an output_pagecheck) will cause an end-of-page/new-page sequence. Although the report object never sets this property to true, it does reset it to false after a page break.
You can set page_end_state to true if you wish to force a page break. Often you will want a page break to be executed at the end of a subtotal section. Setting this property to true after the last image in a section has been output will inform the report to break a page before any images or lines are printed.