format a dsum result

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a dsum calculation in a query. The original in the tbl is currency
format but the result of dsum in the query can't be formatted and only
returns an integer.

When I use the field in a report the same things happens.

I need to be able to format this as currency in the report.
 
I have a dsum calculation in a query. The original in the tbl is currency
format but the result of dsum in the query can't be formatted and only
returns an integer.

When I use the field in a report the same things happens.

I need to be able to format this as currency in the report.


If the report text box won't format it when you specify
Currency in the text box's Format property, then either use
CCur(Nz(DSum(...),0)) in the calculated query field or set
the report text box's control source expression to
=CCurNz((queryfield),0)
 

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

Similar Threads

Parameter Query with DSum 1
Dsum returns #Error 4
dsum with multiple criteria and decimals 0
DSum in Query 3
dsum sytax error 5
Dsum Problem with date criteria 1
DSUM Function 1
dsum 3

Back
Top