Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page # and Total Page COUNT...
Message
From
26/01/2000 19:44:39
Ronald Suen
Epic Solutions Inc.
Edmonton, Alberta, Canada
 
 
To
26/01/2000 19:29:57
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00323270
Message ID:
00323287
Views:
21
Sorry for the confusion.

I guess I should ask whether or not there are any groupings that require you to reset the page number back to 1 in your report?

>>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,
>
>Thank you for the rapid response!
>
>I'm not sure I understand what you mean. You mentioned having 2 layouts. In two separate reports or in the same? I guess I'm unfamiliar with more than one layout in a single report.
>
>How do I store the report or its page numbers to a cursor? This is new to me.
>
>Thanks again,
>
>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