Null to Zero - result as a number not string

G

Guest

How do you get Nz function to return a zero in a query. If I use Nz(Data,0),
I get a string with the digit '0' (zero) stored in it. How do I get a
numeric value of zero as a result? I am using access query designer not SQL.

Thanks
 
G

Guest

It is type 'Currency' in the underlying table - is that the cause of my
problems?
 
G

Guest

Thanks Allen. I have prefixed my calcs with CCur and it works like a dream!

Other than your website, where do I find the doco for this?
 
A

Allen Browne

I'm not aware of other doco for this issue.

This practical stuff comes from hard-earned experience - my own, and others
in these newsgroups.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top