PageAbs
DataWindow expression function
Description
Gets the absolute number of the current page.
Syntax
|
1 |
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:
|
1 |
PageAbs() |
This example obtains the absolute page number for the first row on
the page in the string variable ret:
|
1 2 3 |
string ret, row row = dw1.Object.DataWindow.FirstRowOnPage ret = dw1.Describe("Evaluate('pageabs()', "+row+")") |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest