Format and Calculate on same field in Query

  • Thread starter Westley via AccessMonster.com
  • Start date
W

Westley via AccessMonster.com

I have a query with field named: amtpaid
I calculate this field to be amtpaid:[invamt]-[otheramt]
It gives me the calculated amount in this field, but the number is showing
$sign

How do i remove the $sign from this calculated field?

I know how to format the field with Expr2:Format([amtpaid],"000.00") But not
sure how do do both format and calculate in the same field.

I also, tried to split the field to format in one field and calculate in the
other, but the problem with that is that i need only the one field to show up
in my query.

Please help....

Thanks,
Westley
 
F

fredg

I have a query with field named: amtpaid
I calculate this field to be amtpaid:[invamt]-[otheramt]
It gives me the calculated amount in this field, but the number is showing
$sign

How do i remove the $sign from this calculated field?

I know how to format the field with Expr2:Format([amtpaid],"000.00") But not
sure how do do both format and calculate in the same field.

I also, tried to split the field to format in one field and calculate in the
other, but the problem with that is that i need only the one field to show up
in my query.

Please help....

Thanks,
Westley

If you always want the format to be 000.00, then
amtpaid:Format([invamt]-[otheramt],"000.00")

Otherwise use:
amtpaid:Format([invamt]-[otheramt],"#0.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

Similar Threads


Top