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

Conditional Running Total not Reporting 0.00

Status
Not open for further replies.

CindyN

Programmer
May 23, 2001
13
0
0
US
Using CR 8.5, I have a report with a calltype field and a cost field. I need to summarize this info for total cost by calltype. I created a conditional running total, which works pretty well except:

Some of the entries appear as 0.00 and others are blank. I need to have 0.00 appear when there are no cost entries for the calltype.

Can I force a 0.00 using a conditional running total?

My x-2 formula is '{CREPORT.CALLTYPE} = 1' (or 2).
 
Using this condition in SQL statement.
 
One short cut you could try is to go to:

File - Report Options

and check off the first checkmark (Convert Null field to default).

This might solve it. Although, it may have unintended consequences if you use the IsNull function in other places. Ken Hamady
On-site custom Crystal Reports Training and Consulting.
Quick Reference Guide to using Crystal in VB.
 
This option is not available (greyed out) on my report. Any other suggestions?
 
I have worked around this by using the following in a formula where you want to display the result of the Running Total:

if IsNull({#RunTotal}) then
0
else
#RunTotal Jim Varco
Varco Consulting
varco@compuserve.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top