Ok, I have an Access table that is updated with changes from a linked Excel document. This table contains employment information so if there is a change in the system I will have a new employee table emailed and I will overwrite the old one. Now, what I need help with is the delete query. If an employee is terminated I need for the query to remove that employee's entire row from the CURRENT table. My predecessor started one but when I try and run it it just says is will delete 0 rows. Right now it should be deleting a little over 200 rows so I'm hoping someone can look at it and tell me any problems in it or guide me through creating a new one. Thanks.
Code:
DELETE DISTINCTROW CURRENT.*, Employees.TechID, CURRENT.TechID
FROM [CURRENT] INNER JOIN Employees ON CURRENT.TechID=Employees.TechID
WHERE (((Employees.TechID) Is Null) AND ((CURRENT.TechID) Not Between "1" And "100"));