KevinSlater
Registered User.
- Local time
- Today, 02:13
- Joined
- Aug 5, 2005
- Messages
- 249
Hi,
I have the following code in a query:
NEWMARP: IIf([DATA-PRICE_BOOK_ITEMS]![PRICE_NEW]<>0,(([DATA-PRICE_BOOK_ITEMS]![PRICE_NEW]/[CURRENCY_RATE])-[EXT-STK_PARTS]![STK_COST_CURR]/100000)/[DATA-PRICE_BOOK_ITEMS]![PRICE_NEW]/[CURRENCY_RATE])*100,0)
If the Field "STK_COST_CURR" = 0.48
if the Field "PRICE_NEW = 3.57
then 0.48 /3.57 should = 0.1344 but instead when i run the query the number is 13.34. im gueesing maybe i have a bracket in the wrong place? but not sure how to correct this?
The calculation result is not quite right, any suggestions would be great.
I have the following code in a query:
NEWMARP: IIf([DATA-PRICE_BOOK_ITEMS]![PRICE_NEW]<>0,(([DATA-PRICE_BOOK_ITEMS]![PRICE_NEW]/[CURRENCY_RATE])-[EXT-STK_PARTS]![STK_COST_CURR]/100000)/[DATA-PRICE_BOOK_ITEMS]![PRICE_NEW]/[CURRENCY_RATE])*100,0)
If the Field "STK_COST_CURR" = 0.48
if the Field "PRICE_NEW = 3.57
then 0.48 /3.57 should = 0.1344 but instead when i run the query the number is 13.34. im gueesing maybe i have a bracket in the wrong place? but not sure how to correct this?
The calculation result is not quite right, any suggestions would be great.