G
George
Hi Folks, hope someone can help.
Based on a value on a report (eg £10,000) I want to Identify the amount of
comission to pay to an adviser. EG, if the value is 10,000, commision = 50;
15,000 then commision = 75 etc. DLookup will not work (I don't think) as I
need to test against two values. My SQL looks a bit like this:
SELECT commissionAmount
FROM payScale
WHERE lowerLimit>[myVariableValue] and upperLimit<[myVariableValue]
Hope that makes a bit of sense!
George
Based on a value on a report (eg £10,000) I want to Identify the amount of
comission to pay to an adviser. EG, if the value is 10,000, commision = 50;
15,000 then commision = 75 etc. DLookup will not work (I don't think) as I
need to test against two values. My SQL looks a bit like this:
SELECT commissionAmount
FROM payScale
WHERE lowerLimit>[myVariableValue] and upperLimit<[myVariableValue]
Hope that makes a bit of sense!
George