G
Guest
I have this problem all mapped out in MS Excel, but I would like to convert
this issue into my Access database. I'd basically like to do two separate
things based off of some of my fields.
I have a start date (1/1/2004) and an end date (12/1/2004) and based off of
the week intervals, I am basically saying that a worker will work the normal
40 hours per week and we are alloting them an average of 5 hours of overtime,
to equal a total of 45.
Based on the following formula, I can derive at the maximum total of hours
between the start date and end that. The second notion is to take those
total hours and multiply that by the hourly rate of my employees.
First forumla in Excel to arrive at maximum total hours -
"=product(sum(enddate - startdate)/7*45)"
Second forumla in Excel to arrive at exceed cost amount -
"=product(sum(maxhours*hourlyrate))"
I would love to translate this same information into my MS Access database
so that the "Maximum Hours" and "Exceed Amount" fields are automatically
populated based on the information I place in the "start date," "end date,"
and "hourly rate" fields.
Thanks in advance for your assistance.
KAJ
this issue into my Access database. I'd basically like to do two separate
things based off of some of my fields.
I have a start date (1/1/2004) and an end date (12/1/2004) and based off of
the week intervals, I am basically saying that a worker will work the normal
40 hours per week and we are alloting them an average of 5 hours of overtime,
to equal a total of 45.
Based on the following formula, I can derive at the maximum total of hours
between the start date and end that. The second notion is to take those
total hours and multiply that by the hourly rate of my employees.
First forumla in Excel to arrive at maximum total hours -
"=product(sum(enddate - startdate)/7*45)"
Second forumla in Excel to arrive at exceed cost amount -
"=product(sum(maxhours*hourlyrate))"
I would love to translate this same information into my MS Access database
so that the "Maximum Hours" and "Exceed Amount" fields are automatically
populated based on the information I place in the "start date," "end date,"
and "hourly rate" fields.
Thanks in advance for your assistance.
KAJ