G
Guest
Hello,
I am working on a database to figure out Insurance premiums. by plugging in
the beginning date and end date the number of days between the two days will
figure out how manys to charge for. What I need is the formula for the
following:
1. If date difference is 28, 30 or 31 then A*B (this calculates a full
month) else (C/360)*(D) (this calculates a partial month.
2. Also, what if we are in march and I have a date difference of 28. How do
I get this to work where the database will not read 28 as a full month or the
month of February?
3. Would I create an unbound text box and place the formula for each in the
control source or do it in VBA?
Please simplify answer for example: If I am to use VBA, where would I place
the formula and what event and all that good stuff. I am somewhat familar but
an expert and that is why I need the help of this forum. You guys have never
steered me and always come through for me.
Thank you!!!!
I am working on a database to figure out Insurance premiums. by plugging in
the beginning date and end date the number of days between the two days will
figure out how manys to charge for. What I need is the formula for the
following:
1. If date difference is 28, 30 or 31 then A*B (this calculates a full
month) else (C/360)*(D) (this calculates a partial month.
2. Also, what if we are in march and I have a date difference of 28. How do
I get this to work where the database will not read 28 as a full month or the
month of February?
3. Would I create an unbound text box and place the formula for each in the
control source or do it in VBA?
Please simplify answer for example: If I am to use VBA, where would I place
the formula and what event and all that good stuff. I am somewhat familar but
an expert and that is why I need the help of this forum. You guys have never
steered me and always come through for me.
Thank you!!!!