nickfatool
IS-IT--Management
CR8.5Dev, Access97, ODBC
I'm trying to replicate VB's Nz "null to zero" function within a Crystal formula, is this the correct method?
Not getting the desired results:
Falsepart - formula returns field1 when it is not null - ok that's good.
Truepart - returns nothing when field1 is null, require zero.
Any clues?
Cheers,
Rob Dexter.
I'm trying to replicate VB's Nz "null to zero" function within a Crystal formula, is this the correct method?
Code:
IIF(IsNull({db.Field1}),0,{db.Field1})
Not getting the desired results:
Falsepart - formula returns field1 when it is not null - ok that's good.
Truepart - returns nothing when field1 is null, require zero.
Any clues?
Cheers,
Rob Dexter.