I have been really stumped on this issue.....
I need to take salary amounts and cap them at $60,000 (for anyone who earns above that). So, I have used an IIf Statement that looks like this:
=IIf([report salary]>=60000,"$60,000",[report salary])
However, my dilema is that I also need to take the result of the statement and use it in a calculation to obtain a total of all salaries. Access does not seem to recognize the result of the IIf Statement as a 'value'. My total gives me their orginial salary amount and does not cap it at $60,000.
Is there something else I should be using to achieve my final result?
Thank you in advance for any advice!
Stumped
I need to take salary amounts and cap them at $60,000 (for anyone who earns above that). So, I have used an IIf Statement that looks like this:
=IIf([report salary]>=60000,"$60,000",[report salary])
However, my dilema is that I also need to take the result of the statement and use it in a calculation to obtain a total of all salaries. Access does not seem to recognize the result of the IIf Statement as a 'value'. My total gives me their orginial salary amount and does not cap it at $60,000.
Is there something else I should be using to achieve my final result?
Thank you in advance for any advice!
Stumped