Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / July 2006

Tip: Looking for answers? Try searching our database.

Minimum Charge Query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vinnie - 27 Jul 2006 20:13 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.