Glb.LineCount

Glb.LineCount is a read-writable built-in segment attribute that is set to the number of lines of report output printed on the current page of the referencing report.

When the Glb.LineCount value exceeds the value of the Glb.FormDepth built-in segment attribute (except when Glb.FormDepth is set to zero), any footers are output, an advance to top-of-page occurs, and any headings are output.

Note: When the BeginPage Clear logic command is executed, Glb.LineCount is set to 9999 to force the new page. Since the logic of the print frame is executed before the advance to new page occurs, the Glb.LineCount value is 9999, not 0.

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

Properties

Length = 4

Primitive = Number