B
bluefalcon904 via AccessMonster.com
Hi everyone...
Can someone please help me?
I have a table: CHARGE that has several fields:
Account
Currency
Penced
Price
NetMoney
Id like to do a Select Account, Currency, Price, NetMoney from CHARGE
However, would also convert the Price and NetMoney if Currency = GBp and
Penced = Y.
Select Account, Currency, IIf((Currency=GBp) AND (Penced=Y),(Price/100),Price)
), IIf((Currency=GBp) AND (Penced=Y),(NetMoney/100),NetMoney))
Is this right? Please help.
Thanks muchly.
Can someone please help me?
I have a table: CHARGE that has several fields:
Account
Currency
Penced
Price
NetMoney
Id like to do a Select Account, Currency, Price, NetMoney from CHARGE
However, would also convert the Price and NetMoney if Currency = GBp and
Penced = Y.
Select Account, Currency, IIf((Currency=GBp) AND (Penced=Y),(Price/100),Price)
), IIf((Currency=GBp) AND (Penced=Y),(NetMoney/100),NetMoney))
Is this right? Please help.
Thanks muchly.