Hi,
I've got a query that calculates a commission on a transaction, but there is
a minum charge that I can't seem to incorporate.
In other words, my calc in Excel would be =IF((TransactionValue *
CommissionRate) < MinimumCharge, Minimum Charge, TransactionValue *
CommissionRate)
But I don't know to do this in my access query, in the Field I just have:
(TransactionValue * CommissionRate)
Any help much appreciated!
pietlinden@hotmail.com - 27 Jul 2006 22:10 GMT
> Hi,
>
[quoted text clipped - 7 lines]
> But I don't know to do this in my access query, in the Field I just have:
> (TransactionValue * CommissionRate)
Just change IF to IIF
IIF works exactly the same way.
Vinnie - 28 Jul 2006 08:48 GMT
Thanks a lot!
>> Hi,
>>
[quoted text clipped - 5 lines]
>
>IIF works exactly the same way.