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

2 sets of page numbers

Status
Not open for further replies.

szeiss

Programmer
Apr 5, 2000
137
US
I have a report that needs to have 2 sets of page numbers. One set will just be a count, ex. page 1, page 2, page 3.... the other will reset when the group changes, ex. page 1 of 3. I have checked in the format section to "reset page number after", but it also causes the page 1, page 2, page 3 to reset also which I don't want. Is there a way to do what I want. Both sets of page numbers are in the page footer section.

Thanks,
Sherry
 
The Page N of M result is easiest to do with the standard Crystal Reports function of that name, and get it to reset on change of group.
A simple page number that does not also reset can be done with a single formula.
WhilePrintingRecords ;
NumberVar PageCounter := PageCounter + 1 ;
"Page " + ToText(PageCounter, 0)
Just put this in the page footer or page header.
Malcolm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top