Substitute null value with "0"

Roach

Registered User.
Local time
Today, 03:59
Joined
Jun 5, 2002
Messages
12
Hello all,

My problem is this....I have 2 fields, "Yes" and "No". Some of these fields are null and others are populated. I'm trying to build a relatively simple query which adds yes' and no's.

The problem is that IF I have 3 yes' and null (zero) no's the addition expression gives me a null field.

Is there an expression that will throw a "0" in the null fields so the addition expression can actually add 3 plus "0"?

Any help is greatly appreciated. Thank you very much.

Peace,
Roach
 
Or the IIf() function.

Dave E
 

Users who are viewing this thread

Back
Top Bottom