Specifications

PageCountAcross
720 InfoMaker
Usage
PageCount applies to Print Preview.
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 pages:
PageCount()
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 Page
PageAcross
PageCountAcross
PageCountAcross
Description Gets the total number of horizontal pages that are wider than the Print Preview
window when a report is viewed in Print preview.
Syntax PageCountAcross ( )
Return value
Long. Returns the total number of horizontal pages if it succeeds and –1 if an
error occurs.
Usage PageCountAcross applies to Print Preview.
Examples This expression returns the number of horizontal pages in the Print Preview
window:
PageCountAcross()
See also Page
PageAcross
PageCount