G
Gaetanm via AccessMonster.com
I have a calculation in a query that gives me percentage but I come up with
#error in the
percentage field at times.
Percent: IIf([basesellingprice]-[taxinclusiveunitprice]=0,0,[basesellingprice]
-[taxinclusiveunitprice])/([taxinclusiveunitprice])*100
Basesellingprice taxinclusiveunitprice
.03 0 =
#error
In my Query I created a test column called check and this is the result:
check: ([basesellingPrice]-[taxinclusiveunitprice])
.03 - 0 = .025
The .025 is on the same record as #error
The basesellingprice of .03 is actual .03 and not a rounded number
Any ideas on the #error and the .025 issue
Gaetanm
#error in the
percentage field at times.
Percent: IIf([basesellingprice]-[taxinclusiveunitprice]=0,0,[basesellingprice]
-[taxinclusiveunitprice])/([taxinclusiveunitprice])*100
Basesellingprice taxinclusiveunitprice
.03 0 =
#error
In my Query I created a test column called check and this is the result:
check: ([basesellingPrice]-[taxinclusiveunitprice])
.03 - 0 = .025
The .025 is on the same record as #error
The basesellingprice of .03 is actual .03 and not a rounded number
Any ideas on the #error and the .025 issue
Gaetanm