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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

about page number in report

Status
Not open for further replies.

deadfish

Programmer
Nov 13, 2002
50
0
0
HK
Hi,

I would like to show the page number in each page of the report. The report has a group, customer. I would like to show the page number in the format of =Page " & [Page] & " of " & [Pages]. I can reset the page number in group but I don't know how to retrieve the total number of pages for each customer.

I mean to show:
customer 1
page 1 of 3, page 2 of 3....
customer 2
page 1 of 2, page 2 of 2

...

How to archieve this? Thanks!
 
Thanks!
I have try that to reset the page number. But I don't know how to get the total number of page for each customer...

 
Check out this thread, and use the information in THWatson's third post. I just tried it, and it worked fine. One thing I had to tweak was this:

My "PageHeader" is called "PageHeader" and THWatson used "PageHeaderSection" (first line of code), so you may have to tweak that as well.



Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244. Basics at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top