Hi all,
I'm building a database to keep track of holiday hours and absent hours of my personnel.
Before building all forms and reports I want to set up the data structure properly.
I currently have 1 table that stores everything.
EmployeeID, HourTypeID, NrOfHours.
The problem is that with holidays for example I have positive and negative values. The new year starts with a new budget and then holidays need to be deducted, so lots of negative values.
Would it be better to create a dedicated table for each type of hour? Like tblAbsent, tblHolidays, tblOvertime, tblHolidayBalance and then calculate the balance with queries?
How would this be properly structured?
Thanks in advance!
I'm building a database to keep track of holiday hours and absent hours of my personnel.
Before building all forms and reports I want to set up the data structure properly.
I currently have 1 table that stores everything.
EmployeeID, HourTypeID, NrOfHours.
The problem is that with holidays for example I have positive and negative values. The new year starts with a new budget and then holidays need to be deducted, so lots of negative values.
Would it be better to create a dedicated table for each type of hour? Like tblAbsent, tblHolidays, tblOvertime, tblHolidayBalance and then calculate the balance with queries?
How would this be properly structured?
Thanks in advance!
Last edited: