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

Cumulative total please??? 1

Status
Not open for further replies.

ombina

Programmer
Jun 18, 2002
62
US
Hello,

I am trying to calculate cumulative total:

Final output -
Col1 Col2
==== ====
1 1
2 3
3 6
4 10
5 15
.
.


Thanks,

Ricky
 
You've 2 options, create a Running Total field which evaluates for every record and does not reset, and place it in the details.

Or

Create a formula like the following:

whileprintingrecords;
numbervar ThisValue :=ThisValue+{table.field}

-k
 
synapsevampire,

I have a similar post like this and your 2nd option worked great.

Thanks,
Lori
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top