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!

Formula Reset

Status
Not open for further replies.

prprogrammer

Programmer
Jun 25, 2004
49
PR
I have formula that Sum a value from subrepors(x=x+y) where y is the shared variable. but continued the sum for all group but no reset to 0 each group.

group1
x=5
x=10
group2
x=15
x=30
group3
x=45
x=60



 
To reset, create a formula that sets x to zero and place it in the Group Header.

hth,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Using Crystal syntax, the reset formula should look like:

whileprintingrecords;
shared numbervar y := 0;

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top