Help with expression with 0 numeric value

Christine Pearc

Christine
Local time
Today, 02:30
Joined
May 13, 2004
Messages
111
Could someone help me with an expression in a report? If the value of DispositionID (a numeric field) is 0, I don't want the 0 to be displayed - it should just show nothing. The closest I've been able to come is shown below, but obviously it is trying to show an empty text string (" ") instead of a blank numeric value.

=IIf(IsNull([DispositionID])," ",[DispositionID])

Help with the correct syntax will be appreciated!

Christine
 
=IIf([DispositionID] = 0,"",[DispositionID])

???
kh
 
Help with expression with 0 numeric value - Thanks

Thank you, Ken - that did it! Silly me really should have figured that out before!!
 

Users who are viewing this thread

Back
Top Bottom