Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of Page
Message
From
28/11/2001 14:36:21
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00587093
Message ID:
00587135
Views:
38
It's work perfectly. Thanks a lot

>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
>>...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform