Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page No. of Pages
Message
From
30/11/1999 17:48:07
 
 
To
30/11/1999 17:31:43
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00297139
Message ID:
00297151
Views:
19
>How can I format my report to show page no. of pages. Thanks.
>
>God Bless,
>S. Dyke

Run the report twice as shown:

lnMaxPages = 0
REPORT FORM MyRpt TO FILE Dummy.TXT NOCONSOLE
lnMaxPages = _PAGENO
REPORT FORM MyRpt TO PRINTER NOCONSOLE

In you report, reference the variable lnMaxPages, which will hold the total number of pages.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform