TOP MARGIN Clause

This clause sets a top margin for each page of the report.

4GLREF00000009.gif

size is a literal integer that specifies the vertical height (in lines) of the top margin of each page.

The number of blank lines specified as the top margin size appears in report output above any page header that you specify in a PAGE HEADER or FIRST PAGE HEADER control block of the FORMAT section.

If you omit the TOP MARGIN specification, then the default top margin is three lines, and any page header begins in the fourth line.

The sum of the size values that you specify as your top and bottom margins, plus the number of lines (if any) for the page header and trailer, represents the portion of each page that is not available for displaying data. Unless the page length is greater than this total, your report cannot display any records.

References

BOTTOM MARGIN Clause

LEFT MARGIN Clause

PAGE LENGTH Clause

REPORT TO Clause

RIGHT MARGIN Clause

TOP OF PAGE Clause