Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Total page number in report form
Message
From
05/01/2000 08:27:52
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00313080
Message ID:
00313133
Views:
36
>My coding to get total page number
>report form PRNORDER noconsole for ORDER_ID = _ORDER_ID
>total_page = _pageno
>report form PRNORDER PRINT PROMPT for ORDER_ID = _ORDER_ID
>
>but total_page return wrong result
>please help, have you any method to get right total page number.

You need to run the report twice, the first time to a file.

REPORT FORM PrnOrder TO FILE Dummy.tmp NOCONSOLE for ORDER_ID = _ORDER_ID
total_page = _PAGENO && total_page has the total number of pages
REPOR FORM PrnOrder TO PRINTER for ORDER_ID = _ORDER_ID
Previous
Reply
Map
View

Click here to load this message in the networking platform