Gets the absolute number of the current page.
PageAbs ( )
Long. Returns the absolute number of the current page.
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.
This expression returns the absolute number of the current page:
PageAbs()
This example obtains the absolute page number for the first row on the page in the string variable ret:
string ret, row row = dw1.Object.DataWindow.FirstRowOnPage ret = dw1.Describe("Evaluate('pageabs()', "+row+")")