Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of Page
Message
 
 
To
28/11/2001 13:26:45
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00587093
Message ID:
00587096
Views:
67
This message has been marked as the solution to the initial question of the thread.
To get number of pages in report you have first print it to file and store # of pages in the variable
nTotalpages = 0
Report form myreport to file < temp file > NoConsole
lnTotalpages = _PAGENO
Report form myreport to printer ...

* "Page : " + TRANSFORM(_pageno) + " of " + TRANSFORM(lnTotalpages )
>I put this code on a field and it does'nt work.
>"Page : " + alltrim(STR(_pageno)) + " of " + alltrim(STR(_pbpage))
>
>ex:
>Page 1 = Page 1 of 1
>Page 2 = Page 2 of 1
>Page 3 = Page 3 of 1
>...
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform