Hello,
Before digging into this I just want to say that I fully expect that this is not possible but some of you have already amazed me so I figure that it can't hurt to ask.
We have clients that provide life benefits to their employees and the benefit amounts can be calculated in a number of ways. For example, the benefit could be 2 times annual salary rounded up to the nearest 1000 but capped at 75,000. Or 75% annual salary rounded up to the nearest 1000 capped at $50,000. I am guessing that I have a minimum of 20 different scenarios and that is just for life. Some clients have long and/or short term disability as well.
What I am curious about is if I can create a table that cross references the clients to thier formula (to clarify: the formula would be stored in a field on the table) so that it can be used as a calculator by the end users. Basically thinking that on a form they could enter the client ID and the salary then push a button and get the resulting values based on the formulas stored in the table.
I can create group specific queries or write a bunch of IIF statements but it seems like there should be a way to do this more efficiently and also in way that would allow someone more than just myself to easily add new formulas as we aquire new clients with life benefits.
Thanks in advance for any information or insight you may have on this.