Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How cam I make on a report page 1 of total pages
Message
 
 
To
23/12/2001 14:48:00
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00597832
Message ID:
00597836
Views:
17
>How can i print on a report, page 1 of total pages?

To get number of pages in a report you have first print it to a file and store # of pages in a variable
nTotalpages = 0
Report form myreport to file < temp file > NoConsole
ERASE < temp file > 
lnTotalpages = _PAGENO
Report form myreport to printer ...

* "Page : " + TRANSFORM(_pageno) + " of " + TRANSFORM(lnTotalpages )
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform