Query result - Default value

prabhu

Registered User.
Local time
Today, 05:26
Joined
Apr 21, 2010
Messages
54
Hello,

When there is no data in the query result, How to give a default value like ZERO

Thanks,

Prabhu
 
Wrap Nz([YourNumericField],0) around the field
 
Thanks David,

But do i need to enter in VB module? I am new to access and i manage access with Query only. Is it possible to get it with query.

I tried entering this in Query field and but i didnt get the result.
 
Last edited:
How about this?
Put in a query
Result: iif([something] is not Null,[something],0)
 

Users who are viewing this thread

Back
Top Bottom