Specifications

Page
718 InfoMaker
Page
Description Gets the number of the current page.
Syntax Page ( )
Return value
Long. Returns the number of the current page.
Calculating the page count
The vertical size of the paper less the top and bottom margins is used to
calculate the page count. When the print orientation is landscape, the vertical
size of the paper is the shorter dimension.
Examples This expression returns the number of the current page:
Page()
In the report’s footer band, this expression for a computed field displays a
string showing the current page number and the total number of pages in the
report. The result has the format Page n of total:
'Page ' + Page() + ' of ' + PageCount()
See also
PageAbs
PageAcross
PageCount
PageCountAcross
PageAbs
Description Gets the absolute number of the current page.
Syntax PageAbs ( )
Return value
Long. Returns the absolute number of the current page.
Usage Use this function for group reports that have ResetPageCount = yes. It returns
the absolute page number, ignoring the page reset count. This enables you to
number the grouped pages, but also to obtain the absolute page when the user
wants to print the current page, regardless of what that page number is in a
grouped page report.
Examples This expression returns the absolute number of the current page:
PageAbs()