Report statistics are now available within report print operations to return the time, number of pages for the print routine, and output device.
Statistics are generated with following defined variables before the print operation:
•RBTI_RSTAT_TIME - captures the generation time, in seconds
•RBTI_RSTAT_PAGES - captures the number of pages
•RBTI_RSTAT_DEV - captures the output device used (SCREEN, PRINTER, FILE)
Once the print process completes, the variables can be interpreted in the "After Generate" Report Action.
The following is an example of returned statistics.
RBTI_RSTAT_TIME = 6 INTEGER
RBTI_RSTAT_PAGES = 22 INTEGER
RBTI_RSTAT_DEV = FILE TEXT