Lobster1071
Registered User.
- Local time
- Today, 16:09
- Joined
- May 18, 2008
- Messages
- 23
I believe this answer is obvious, but just wanted to see if there was a better/easier way that I was missing.
I have a main table called "Assignments" (Date, Time, EmployeeID, Notes, etc). The EmployeeID field is a Lookup field (combo box) which of course is linked to a simple "Employee" table with two fields (ID and Employee Name).
The problem is, if I ever delete a record from the Employee table, the Employee gets deleted from the Assignments table as well. I would like to keep that name in the Assignments table even if the employee gets deleted from the linked table.
Is this simply a matter of adding a field called "Employee Name" to the Assignments table? Whenever I select an employee for the assignment in a form, I would tell that field (which is not linked to the Employee table) to get updated?
Couldn't find this answer poking around the forums, hopefully someone will tell me an easier way to do this if possible. (Maybe a Lookup field isn't even neccessary, and I could just create an Employee Name field anyway, then select the employees from a "stand-alone" combo box in a form).
I have a main table called "Assignments" (Date, Time, EmployeeID, Notes, etc). The EmployeeID field is a Lookup field (combo box) which of course is linked to a simple "Employee" table with two fields (ID and Employee Name).
The problem is, if I ever delete a record from the Employee table, the Employee gets deleted from the Assignments table as well. I would like to keep that name in the Assignments table even if the employee gets deleted from the linked table.
Is this simply a matter of adding a field called "Employee Name" to the Assignments table? Whenever I select an employee for the assignment in a form, I would tell that field (which is not linked to the Employee table) to get updated?
Couldn't find this answer poking around the forums, hopefully someone will tell me an easier way to do this if possible. (Maybe a Lookup field isn't even neccessary, and I could just create an Employee Name field anyway, then select the employees from a "stand-alone" combo box in a form).