linanderson
Registered User.
- Local time
- Today, 16:21
- Joined
- Jul 13, 2002
- Messages
- 17
Hi can someone help me with this query.
I have a list of bonus amounts[BonusAmt]. What I now want to achieve is calculate an actual bonus sum[ActBonus]. For example. If the bonus amount is a negative number the actual bonus is 0. If it is between 1 and 20 it should be the bonus amount. If it is over 20, it should be 20.
I have started: ActBonus: IIf([BonusAmt]???,[BonusAmt],"0"). No options I have placed in the ??? work.
For info my BonusAmt Query is: BonusAmt: (([TotMths]-20000)/20000)*20. The TotalMths is a sume of 12 months earnings. I figured this should be calculated first rather than combine.
Any help would be appreciated.
I have a list of bonus amounts[BonusAmt]. What I now want to achieve is calculate an actual bonus sum[ActBonus]. For example. If the bonus amount is a negative number the actual bonus is 0. If it is between 1 and 20 it should be the bonus amount. If it is over 20, it should be 20.
I have started: ActBonus: IIf([BonusAmt]???,[BonusAmt],"0"). No options I have placed in the ??? work.
For info my BonusAmt Query is: BonusAmt: (([TotMths]-20000)/20000)*20. The TotalMths is a sume of 12 months earnings. I figured this should be calculated first rather than combine.
Any help would be appreciated.