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!

Running Total returning Blank

Status
Not open for further replies.

kpiljava

Programmer
Nov 3, 2002
14
PR
Hi i am running a total (SUM) based on certain criteria.If no records are there to get totalled then the field is not shown on the screen.Instead of that number 0 should be returned
 
Create a formula with your condition:
if <<Condition>> then {FieldToConditionallySum} else 0

If you are resetting on change of group, you can do a simple sum on the new formula field, no running totals required.

If you still need a running total field, change your field to evaluate to the new formula and you should be OK.

Software Sales, Training and Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
I am not sure that technique will work when there are no records. Is this a running subtotal or a running grand total? Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top