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

isnull function 2

Status
Not open for further replies.

QueSpr04

Programmer
Jun 3, 2004
50
US
I am using CR10 and a ODBC connection. And I am trying to get a running total to display $0.00 if the field has a null value. Any solutions?
 
Can you try this :

Go to File -> Report Options. Check the 'Check Box' next to 'Convert Database NULL values to Default'

kutoose@yahoo.com
 
Alternatively, try
Code:
if isnull({your.amount}) then 0 
		         else {your.amount}

Madawc Williams (East Anglia)
 
The result of this formula must be boolean", is the result of the formula [if isnull({your.amount}) then 0 else {your.amount}
 
Sounds like you are creating the formula in the wrong area. This should be created in the formula editor in the field explorer (not sure where this is in CR 10). Make sure you are not in the record selection area or a conditional formatting formula area.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top