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

I have a formula that I am using to

Status
Not open for further replies.

KeyserSoze

Programmer
May 18, 2000
79
US
I have a formula that I am using to total up the number of class hours for each employee record. The formula is placed in the group footer of the employee group:

NumberVar Total;
Total := Total + val({traihist.TR_TEXT1})

How do I set the total to 0 once a new employee is being processed?

Thanks!
 
Darwin101:

It worked like a charm. Thanks for your help.
 
This is called a running total, which is the hard way. You could probably just select the hours field and say Insert-Subtotal, selecting the appropriate group field. Ken Hamady
On-site custom Crystal Reports Training and Consulting.
Quick Reference Guide to using Crystal in VB.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top