Glb.PageCount

Glb.PageCount is a read-writable built-in segment attribute that is incremented with each report page to the current report output page number. It is set to zero when the referencing port is initiated and after a Release logic statement.

Glb.PageCount is incremented by one when the first line on a new page is output, after the frame method has executed. While the frame method is being executed, the Glb.PageCount value is still the page number of the preceding page of the report.

The PageCount built-in outputstream attribute is used for outputstreams similarly to how Glb.PageCount is used for reports.

Properties

Length = 5

Primitive = Number