FORMATTING RESULTS IN CALCULATED FIELD
Aaaah!!!!! Thank you!!!
"Duane Hookom" wrote:
I don't think the query is the place to do any formatting. Can't you apply
formatting in controls on forms and reports? You may need to change your
expression to:
DUE: Val(Nz(([SNESFee]-[INVOICE AMOUNT]),[SNESFEE]))
--
Duane Hookom
Microsoft Access MVP
"Phil Smith" wrote:
DUE: FormatCurrency(Nz(([SNESFee]-[INVOICE AMOUNT]),[SNESFEE])).
Look up FormatCurrency() in the help for optoins about decimal places,
leading digits, etc. As Above, it uses your regional settings, which
will probably be all you need.
Phil
donna wrote:
In design view of a query, I am trying to make a new field by subtracting one
field from another. Since the field to be subtracted is sometimes null, I
used this expression:
DUE: Nz(([SNESFee]-[INVOICE AMOUNT]),[SNESFEE])
The results are correct, but I can't change the way they are formatted. I
want it in currency format. It shows no dollar sign and no decimal places.
I tried to change the format to "currency" in the properties box. No good.
I tried to change the format to $#.00 and that's no good either.
Thanking you in advance for any help.
.
|