Zero instead of $0.00???

D

DBarker

Actually I figured it out, I had the order of the data
different in both queries when I made it the same it
pulled the data that I was looking for. Now my issue is
within the SQL I want to format it so that it will show 0
values as $0.00 instead of coming back as blank.

Also, I want all credit amounts to show as ($2,000.00)
and not -$2,000.00.
 
M

[MVP] S.Clark

Nz() will format null(which you called blank) values.

e.g. Nz([Field], format(0, "Currency")

I don't know how to get it to format negatives with the parens.


--
HTH,

Steve Clark, Access MVP
FMS, Inc.
Professional Solutions Group
http://www.FMSInc.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Is your Access database too slow?
Are you ready to upgrade to SQL Server?
Contact us for optimization and/or upsizing!
http://www.FMSInc.com/consulting
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
K

Ken Snell

Currency format, I believe, puts parentheses around negative numbers by
default.

--
Ken Snell
<MS ACCESS MVP>

[MVP] S.Clark said:
Nz() will format null(which you called blank) values.

e.g. Nz([Field], format(0, "Currency")

I don't know how to get it to format negatives with the parens.


--
HTH,

Steve Clark, Access MVP
FMS, Inc.
Professional Solutions Group
http://www.FMSInc.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Is your Access database too slow?
Are you ready to upgrade to SQL Server?
Contact us for optimization and/or upsizing!
http://www.FMSInc.com/consulting
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

DBarker said:
Actually I figured it out, I had the order of the data
different in both queries when I made it the same it
pulled the data that I was looking for. Now my issue is
within the SQL I want to format it so that it will show 0
values as $0.00 instead of coming back as blank.

Also, I want all credit amounts to show as ($2,000.00)
and not -$2,000.00.
 

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