Format currency in a query

G

Guest

I have a query which does this: "Min(FormatCurrency([Claim
Finder].[BILLED]))" to show me the minimum billed amount in Currency format.
That works fine. But when I do this "Sum(FormatCurrency([Claim
Finder].[PAID]))" to show the sum of paid in Currency format, the number
returned is correct, but it does not do the currency format. Anyone know why?
 
R

Rick Brandt

TPLguy said:
I have a query which does this: "Min(FormatCurrency([Claim
Finder].[BILLED]))" to show me the minimum billed amount in Currency
format. That works fine. But when I do this
"Sum(FormatCurrency([Claim Finder].[PAID]))" to show the sum of paid
in Currency format, the number returned is correct, but it does not
do the currency format. Anyone know why?

Because the Sum is on the outside. Formatting usually has to be the
outermost thing you do in an expression because formatting does not
propogate.

FormatCurrency(Sum([Claim Finder].[PAID]))
 
G

Guest

You da' man!

Rick Brandt said:
TPLguy said:
I have a query which does this: "Min(FormatCurrency([Claim
Finder].[BILLED]))" to show me the minimum billed amount in Currency
format. That works fine. But when I do this
"Sum(FormatCurrency([Claim Finder].[PAID]))" to show the sum of paid
in Currency format, the number returned is correct, but it does not
do the currency format. Anyone know why?

Because the Sum is on the outside. Formatting usually has to be the
outermost thing you do in an expression because formatting does not
propogate.

FormatCurrency(Sum([Claim Finder].[PAID]))
 

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