Marginally off the subject, I think, for the sake of being able to see
trends, that you should not be holding the available hours in the Employee
table. If it were me, I would have a table of Years with YearID as the Key
and YearName for the actual year (Use "YearName" as "Year" is a reserved
word), Probably also a table of Months MonthID & MonthName ("Month" is a
reserved word) to hold Jan to Dec and the table of AvailableHours with
Foreign Keys of EmployeeID, MonthID and YearID. That way you can keep an eye
on how each employee's available hours changes from year to year.
Good database practice normalises tables, so that an employee table should
really only contain "fixed" data about the employee - name, address, national
insurance number sex etc.
Phil
---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com