| **Navigation:**  [[introduction.htm|Language Reference]] > 9 -  Window and Report Attributes > Window and Report Attributes >====== PAGEAFTER (set page break after) ====== | [[page set page total reset .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[pagebefore set page break first .htm|{{btn_next_n.gif|Next page}}]] | | || **PAGEAFTER(** [//newpage//] **)** {{blk2blue.jpg|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.htm|PROP:NextPageNo]]