Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print numbers of pages in Report Designer
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00235315
Message ID:
00235346
Views:
14
>I need to print number of pages in a report, like 1/n (page one of n pages).
>
>How Can tell me?

You have to run the report twice to do this. Create a report variable that can hold the number of pages in the report, and set it to 0 at first. Run the report once (you can just print it to a file or something and then delete the file), and then record the value of _PAGENO to your variable, and then run the report again, this time to the printer or preview screen. A PITA, I know, but it's the only way we've got.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform