Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

nz( ) & Formatting as currency.

Status
Not open for further replies.

tomcmp

Programmer
Apr 22, 2001
3
US
Can't seem to figure this out. I'm using the following in a query January Sales:nz([jansales],0) It works great for replacing a null with a zero but I can't seem to do anything with the formatting. I'd like to format as currency. Right now I would get 34568 instead of $34,568 Can somebody help me out with this?

Thank you,
Tom
 
Tom
Just wrap it in the currency format:
format(nz(jansales,0),"currency")
--Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top