RDC |
.NET |
X |
X |
Used to know the number of pages in a Crystal Reports report. This data is given for the last report on which the CLOSE instruction was used.
Parameter
NUM_BIN_4 [S] |
NbPages |
On output: |
|
|
NbPages > 0 => Number of pages of the report last closed.
|
|
|
NbPages = 0 => No report processed, or else the last report processed resulted in an error.
|
Example
NUM_BIN_4 NbPages
* retrieval of the number of pages after the action for closing a Crystal Reports report
…
CLOSE
CALL_DLL 'VaCrysRt' 'VaGetNumberOfPages' NbPages