Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Frx page numbering
Message
 
 
To
23/10/2003 16:57:26
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00841836
Message ID:
00841845
Views:
19
This message has been marked as a message which has helped to the initial question of the thread.
>In the Foxpro report writer how can you display the total number of pages in the report on each page? i.e. The first page would show 'Page 1 of 5'
>
>Thanks in advance for any help.

David,
Prior to VFP 8, the basic concept is you was to run the report twice. The first time to file and get the _PAGENO system variable. You store this to a variable and use this variable as your page total. In VFP 8, the _PAGETOTAL system variable was added. It did this for you.

Cathy Pountney wrote a series of articles for FoxTalk starting in 12/2000 on the Report Writer. This tip was in there.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform