Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page Count in Report, PLEASE HELP

Status
Not open for further replies.
May 5, 2000
168
US
I have a report that prints many groups of records and I want the page number to reset to page 1 at the start of a each new group. I want to show for example "Page 1 of 5" for the group

The "Page 1" part I have figured out by adding a procedure to the On Format property of the Group Footer (Page = 0) to set the page back to 1 at the start of each group.

But the total "of 5" part should count the total number of pages in each group. I can't figure this part out. Anyone know how to do this?
 
If you know array's than there is a way
It’s a hard one but it work's
Let me know

Jn88
 
Dear Jane:
I think what Jn88 meant was that you could put the content of your report in arrays, count the pages in each array, and then print the report from the arrays. Or something like that. I used to do that in PICK and QuickBasic, etc. He was asking, "Do you know how to handle arrays?" I think...Do you? :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top