Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Total No. of Pages in a Report
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00128007
Message ID:
00128220
Views:
28
>>Hi To All!
>>
>> What are the ways to know the Total No. of Pages in a report. I want to appear my page number as "Page no. # of #".
>>
>>Thanks and Hope somebody can help me.
>
>Hi Charlotte
>
>This is how to solve your problem:
>
>Create a window that is not visible. [ Ex. In position -1000, -1000]
>Run your report in this window.
>Use _PAGENO to see the number of pages that were printet.
>Run your report again, "the normal way", and use the previus _PAGENO as your 'of #'

Also: If you run your report
REPORT FORM myreport.frx TO SCREEN NOCONSOLE
you don't need to create a window for it.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform