I am looking for some direction on how to set up the following.
We need to compute a final premium amount based on multiple factors.
The Gross premium is a given number, we then need to calculate several subtotals based on a varying number of debits and credits (each premium can have one to twenty or more debits and/or credits) to arrive at the Net Premium.
Simplified Example:
Gross Premium $1,000
Less Factor 1 $100 (based on 10% discount)
Plus Factor 2 $50 (flat fee)
= Subtotal One $950 (gross premium +/- chosen factors)
Subtotal One $950
Less Factor 3 -$25
Less Factor 4 -$10
=Subtotal Two $915 (sub-total one +/- chosen factors)
Subtotal Two $915
Plus Factor 5 $200
Plus Factor 6 $20
=Net Premium $1,135
Each Subtotal can include a different number of factors to calculate the next subtotal. Each Net Premium can be the result of a different number of subtotals.
So on the form I would like the user to enter the Gross Premium and then select the factors from a combo-box (user's need to be able to add the value of a factor because it can be different for each premium calculation), have the form calculate the first subtotal. Then select the next set of factors to calculate the second subtotal.
The caluclation then needs to be "saved" so users can refer back to it. Ultimately I also need to create a "what if" form so that users can see how a change to one factor will affect the net premium. Not all of these "what If" calculations need to be saved, but we need the option to do so if necessary.
I know this is a lot and I am willing to do as much as I can on my own, but need a good reference or a starting point to begin. I am not even sure what to search for!
Any ideas will be appreciated.
LAM
We need to compute a final premium amount based on multiple factors.
The Gross premium is a given number, we then need to calculate several subtotals based on a varying number of debits and credits (each premium can have one to twenty or more debits and/or credits) to arrive at the Net Premium.
Simplified Example:
Gross Premium $1,000
Less Factor 1 $100 (based on 10% discount)
Plus Factor 2 $50 (flat fee)
= Subtotal One $950 (gross premium +/- chosen factors)
Subtotal One $950
Less Factor 3 -$25
Less Factor 4 -$10
=Subtotal Two $915 (sub-total one +/- chosen factors)
Subtotal Two $915
Plus Factor 5 $200
Plus Factor 6 $20
=Net Premium $1,135
Each Subtotal can include a different number of factors to calculate the next subtotal. Each Net Premium can be the result of a different number of subtotals.
So on the form I would like the user to enter the Gross Premium and then select the factors from a combo-box (user's need to be able to add the value of a factor because it can be different for each premium calculation), have the form calculate the first subtotal. Then select the next set of factors to calculate the second subtotal.
The caluclation then needs to be "saved" so users can refer back to it. Ultimately I also need to create a "what if" form so that users can see how a change to one factor will affect the net premium. Not all of these "what If" calculations need to be saved, but we need the option to do so if necessary.
I know this is a lot and I am willing to do as much as I can on my own, but need a good reference or a starting point to begin. I am not even sure what to search for!

LAM