Contains the current page number.

_PAGENO = nCurrentPageNumber

Parameters

nCurrentPageNumber

Specifies a numeric value from 1 to 32,767 for the current page number. _PAGENO, _PBPAGE and _PEPAGE work in unison. If _PAGENO is set (or incremented) such that it falls outside the range of _PBPAGE to _PEPAGE, no pages are printed.

Expand imageRemarks

Expand imageSee Also