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!

Calculating accumulate values on group level

Status
Not open for further replies.

ratjetoes

Programmer
May 24, 2002
30
NL
hi,

i want to show the accumulate values at group level in the report.

ex. subtotal week 38 100 100
subtotal week 39 25 125

when u drill down on a week u see the orders by day, plus accumulated using a running total. i wanted to use a running total for showing the accumulated subtotals using a formula with evaluate, but i can't get it to work.

formula:

WhilePrintingRecords;
NumberVar Orders;
Orders := Sum ({Command.RunningTotalOrder});

reset is set to never. any idea how to get this working?

ratjetoes.
 
If you are adding a running total Field the Evaluate formula needs to be a Boolean, telling CR which records to Evaluate. Something like:

{State} = "CA"

A running total field cannot accumulate subtotals, only detail fields.

Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Tips and Tricks / Guide to Crystal in VB
- tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top