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 Totals - How to Display 0 values

Status
Not open for further replies.

rhardy

IS-IT--Management
May 6, 2002
9
US
I have a real simple question. I created a running total variable which works great except everyplace that would be a zero it just displays a blank. How do you get Crystal to display a 0 for these records.
 
Might be a versioning issue, I just created both a variable and a Running Total (not sure which you were using as you called it a running total variable, those are 2 different things in later versions of CR) and both displayed zero when they had nothing in them.

Perhaps this field has suppress if zero selected in the formatting of the field?

If it's a variable in a formula, perhaps if you set the value to 0 in the beginning it will help, as in:

whileprintingrecords;
numbervar MyVal := 0;

Otherwise, share your code with us, hard to guess what you're doing.

-k kai@informeddatadecisions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top