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!

Print the last record on the page in the page header

Status
Not open for further replies.

ProfReynolds

Programmer
Sep 12, 2001
96
US
I'm preparing a membership directory (similar to a phone book). I need to print the first and last name in the page header. First name in the header is easy; last name in the footer is easy too. How to get the last name into the header - that's the killer.
 
One thing you can do is make a running total, and supress it. Then create a summary that pulls in the maximum value. You should be able to reset the running total on eachpage, but that might be easier said than done.
 
With groups, you could use a summary total, Minimum and Maximum. But you're talking about pages, Crystal insists on handling that itself and won't give you information.

Running totals don't show anything in headers, they run along as the report prints.

You may not be able to do it in the header, in part because you won't know what's the last record on the page.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top