-
-
It sounds like you are storing the department in the employee table.
I suggest the follownig three tables.
tblEmployee
EmployeeID (Primary Key)
strFirstName - Employee's first name
strLastName - Employee's last name
tblDepartment
DepartmentID (Primary Key)
strDeptName - Name of department
tblEmployeeDept
EmployeeID (Foreign Key)
DepartmentID (Foreign Key)
dtStart - date emlployee starts working for a department
Note: Be sure that you create a unique multi-field index for all three fields in tblEmployeDept so that you can't have an employee working in two departments at the same time. Unless of course, that does happen in your case.
Just keep adding records to tblEmployeeDept. I'd create a Main form for either by Employee or Department (or one for both), and have a Subform with the details from tblEmployeeDept.
I hope I understood what you were looking for. Hope it helps!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules