Hello!
I am designing an Access database with a table linked to Excel that contains employee data. This data is updated regularly and contains thousands of employees.
My question pertains to employees who are no longer with the company.
I track interactions with employees, including their name, email address, department, etc.
This information is looked up in the Excel linked tab, using the employee number the PK field.
The user opens a form, selects the employee number from a combo box that refers to the Excel linked table. The additional information - name, etc. is auto-completed from the linked table based on the employee number.
My question is - how do I deal with employees no longer with the company? I need to keep the records of interactions with them.
The choices, as far as I see, are one of the following:
- Add some code to the Excel file so that updated employee data includes a field called Active/Inactive and retains all employees, even those no longer with the company.
- Do not include employees no longer in the company in the Excel file. Add the name, email, department, etc. to tblInteractions in the Access database in order to keep interactions for all employees, regardless of if active or not.
Any help/suggestions are greatly appreciated!