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

Crystal 7 Running totals wrong on top of page

Status
Not open for further replies.

robeau

MIS
Oct 20, 2000
30
CA
Hi,

I have a running total in a group footer. However, on the second and subsequent pages, the top group total that is printed is from the last group of the previous page, not for the group being printed.

If I drill down to the details of the group at the top of the page, the drill-down report shows the correct total.

Anyone ever seen this, or know what I'm doing incorrectly?

Thank you in advance.
 
Are you using a running total field or a formula with variables.

IF your group header is repeating on each page, the reset formula in that header has to check for "InRepeatingGroupHeader"..

whileprintingrecords;
global number myTotal;
if not inrepeatedgroupheader then mytotal := 0;

Editor and Publisher of Crystal Clear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top