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

running total not resetting

Status
Not open for further replies.

espltd

Programmer
Apr 6, 2005
233
US
Hi I am using crystal 10 and can not get a running total to reset. I need it to reset back to 0 at the end of the group. It does look like it is incrementing correctly. I am using 3 seperate formulas,
the reset formula placed in the group header
Numbervar X:=0;

In the details section I have another formula
Numbervar X:=X+1;

in the group footer I have the display formula
Whileprintingrecords;
Numbervar X;

I have two additional groups but this should not effect this running total.
Thanks!
 
got it working, forgot the whileprintingrecords; !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top