I am trying to calculate fees based on size criteria through SQL statements in MS Access.
For example if`x < 24, calculate Quantity * Fee or if x >= 24 calculate quantity x AltFee
Here is the Iff statement I wrote in Access
IIf([Query Testing].[Size]<"24",[Query Testing].[Quantity]*[DepositAndFees].[Fee],IIf([Query Testing].[Size]>="24",[Query Testing].[Quantity]*[DepositAndFees].[AltFee]))