D
dhoover via AccessMonster.com
The following is a piece of code from one of my reports. The field is set as
a general number with 2 decimal places on the report and set as a double in
the table. It basically says that if the numer in x field fits into catagory
c,e,f or g, then it's a percentage, other wise show as a regular number. The
problem is, it's not showing negavive numbers. Anything less than zero shows
as a zero. How can I get this to show the negatives?
=IIf(Left([category],1) In ('C','E','F','G'),Format([month8]/100,"0.0%"),
Format([month8],"0"))
a general number with 2 decimal places on the report and set as a double in
the table. It basically says that if the numer in x field fits into catagory
c,e,f or g, then it's a percentage, other wise show as a regular number. The
problem is, it's not showing negavive numbers. Anything less than zero shows
as a zero. How can I get this to show the negatives?
=IIf(Left([category],1) In ('C','E','F','G'),Format([month8]/100,"0.0%"),
Format([month8],"0"))