How do I format the output of an expression in a Query to currency

G

Guest

How do I format the output of an expression in a Query to currency?
I’m using the IIF function in a query to get a credit or debit in the
currency format.
I then use another IIF Function to get a total! How do I format the Total to
the currency format. I have tried to do it in the Report and Query and
I cant get it to work..
 
J

John Vinson

How do I format the output of an expression in a Query to currency?
I’m using the IIF function in a query to get a credit or debit in the
currency format.
I then use another IIF Function to get a total! How do I format the Total to
the currency format. I have tried to do it in the Report and Query and
I cant get it to work..

YOu can use the CCur() function to convert a number value (from a
calculation, say) to a Currency datatype; and you can display the
result on a Form or Report textbox with its format property set to
Currency.

John W. Vinson[MVP]
 

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