I have a database which calculates employee wages. it has a table for employee details including wage rate, name address etc... tblemployees. I have another table, tblhours, where employees hours are entered each week, therefore foreign key from tblemployees is employee id.
It is possible that employees have a pay rise, this can happen at any point in the year.
how would i go about putting the increase into tblemployees so that my reports still print off with the old wage rate up until the rate change date.
the master wage sheet is printed everyweek, however i have several reports which print off the period totals (4consecutive weeks) currently I have one field for wage rate and therefore if there is an increase half way through a period all week totals take that increase.
I was thinking i need to fields for wage rate, e.g. current/previous wage rate and updated wage rate. I also thought i should have a field for week of change. however i am not sure how to incorporate this into my current reports etc...
Hope this makes sense and someone can help me.
It is possible that employees have a pay rise, this can happen at any point in the year.
how would i go about putting the increase into tblemployees so that my reports still print off with the old wage rate up until the rate change date.
the master wage sheet is printed everyweek, however i have several reports which print off the period totals (4consecutive weeks) currently I have one field for wage rate and therefore if there is an increase half way through a period all week totals take that increase.
I was thinking i need to fields for wage rate, e.g. current/previous wage rate and updated wage rate. I also thought i should have a field for week of change. however i am not sure how to incorporate this into my current reports etc...
Hope this makes sense and someone can help me.