Not sure how to do this and was hoping for a little help/guidance.
I have an employee table in my database. Every month, I get an updated excel file populated with current employees. I am able to run an update query to update job titles, department names, etc, etc.
What I don't know how to do is this: Employee lists are generally dynamic with hirings, firings, or people moving on to other companies. What kind of query would I run so that if an employee in the new file (imported as a table) is not in the original table, that recordset is added to the original table. I would assume that I wouldn't want to delete employees from the original table that are no longer with the company so that any data that they are associated with isn't lost.
Thanks for your help.
I have an employee table in my database. Every month, I get an updated excel file populated with current employees. I am able to run an update query to update job titles, department names, etc, etc.
What I don't know how to do is this: Employee lists are generally dynamic with hirings, firings, or people moving on to other companies. What kind of query would I run so that if an employee in the new file (imported as a table) is not in the original table, that recordset is added to the original table. I would assume that I wouldn't want to delete employees from the original table that are no longer with the company so that any data that they are associated with isn't lost.
Thanks for your help.