Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page # and Total Page COUNT...
Message
From
26/01/2000 18:59:32
Ronald Suen
Epic Solutions Inc.
Edmonton, Alberta, Canada
 
 
To
26/01/2000 18:38:21
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00323270
Message ID:
00323276
Views:
19
The way we did this was to have two layouts: one without "X of N" and one with. Using the first layout, print the report for each value you're grouping by and store the end page numbers with the appropriate key to a cursor (i.e. if you're grouping by some value and that group header band is set to reset the page number to 1, then you will need to store the last page number for each value). Then using the second layout you can reference cursor and provide the "N" value. I know this sounds sloppy but I haven't found another way around this.

>I'm trying to print on each of my pages in a VFP report, "Page 1 of X", "Page 2 of X", etc...
>
>Anyone know how to get the value of "X" as being the total number of pages?
>
>TIA!
>
>Mark
Ronald Suen
Epic Information Solutions Inc.
Ph: (780) 488-4418
Fax: (780) 488-0402
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform