| **Navigation:**  [[introduction.htm|Language Reference]] > 9 -  Window and Report Attributes > Window and Report Attributes >====== PAGENO (set page number print) ====== | [[pagebefore set page break first .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[palette set number of hardware colors .htm|{{btn_next_n.gif|Next page}}]] | | || **PAGENO( **[ //variable// ]** )** {{blk2blue.jpg|blk2blue.jpg}} | **PAGENO** | Calculates the current page number contained in the STRING control's USE variable. | | //variable// | The label of a numeric variable to receive the current page number. This allows you to create totals on other totals. The value in the //variable// is internally updated by the print engine, so it is only useful for use within the REPORT structure. | The **PAGENO** attribute (PROP:PAGENO) specifies the STRING control prints the current page number. {{notebox.jpg|NoteBox.jpg}} Page numbers can be affected by the use of [[pagebefore set page break first .htm|PAGEBEFORE]] and [[pageafter set page break after .htm|PAGEAFTER]]. **See Also:** [[prop nextpageno.htm|PROP:NextPageNo]]