User Tools

Site Tools


pageafter_set_page_break_after_.htm
Navigation:  Language Reference > 9 -  Window and Report Attributes > Window and Report Attributes >====== PAGEAFTER (set page break after) ====== Previous pageReturn to chapter overviewNext page

PAGEAFTER( [newpage] )

blk2blue.jpg

PAGEAFTER Specifies the structure is printed, then initiates page overflow.
newpage An integer constant or constant expression that specifies the page number to print on the next page (PROP:PageAfterNum, equivalent to {PROP:PageAfter,2}). If zero (0) or omitted, forced page overflow does not occur. If negative one (-1) , the current page number increments during page overflow.

The PAGEAFTER attribute (PROP:PAGEAFTER) specifies that the DETAIL, or group HEADER or FOOTER structure (contained within a BREAK structure), initiates page overflow after it is printed. This means that the print structure on which the PAGEAFTER attribute is present is printed, followed by the page FOOTER, and then the FORM and page HEADER.

The newpage parameter, if present, resets automatic page numbering at the number specified.

Example:

CustRpt  REPORT

         HEADER

          !structure elements

         END

Break1    BREAK(SomeVariable)

          HEADER

           !structure elements

          END

CustDetail DETAIL

           !structure elements

          END

          FOOTER,PAGEAFTER(-1)      !Group Footer, initiates page overflow

           !structure elements

          END

         END

         FOOTER

          !structure elements

         END

        END

See Also: PROP:NextPageNo

pageafter_set_page_break_after_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)