I have a sequel query that pulls employee training records. They can be edited and deleted from the query or a related form. When I add a field from third table to the query, even without creating any new joins, the query is not updateable.
The added field just shows records matching the current supervisors department. Any ideas what's causing the issue?
Query Not Updateable
SELECT Employees.ID, Employees.[Last Name], Employees.[First Name], [Employee Training].Course, [Employee Training].[Training Date], [Employee Training].[Next Due], Employees.Department, Employees.[Work Shift], Employees.[Supervisor Name], Employees.[Supervisor Email], [Employee Training].Hours, Employees.[Active?], [Employee Training].Employee, Supervisors.[Supervisor Email Access]
FROM Supervisors, Employees INNER JOIN [Employee Training] ON Employees.ID = [Employee Training].Employee
WHERE ((([Employee Training].[Training Date]) Is Null) AND ((Employees.Department)=[Supervisors].[Department Access]) AND ((Employees.[Active?])=Yes) AND ((Supervisors.[Supervisor Email Access])=GetEmail()))
ORDER BY Employees.[Last Name], Employees.[First Name];
Query Updateable
SELECT Employees.ID, Employees.[Last Name], Employees.[First Name], [Employee Training].Course, [Employee Training].[Training Date], [Employee Training].[Next Due], Employees.Department, Employees.[Work Shift], Employees.[Supervisor Name], Employees.[Supervisor Email], [Employee Training].Hours, Employees.[Active?], [Employee Training].Employee
FROM Employees INNER JOIN [Employee Training] ON Employees.ID = [Employee Training].Employee
WHERE ((([Employee Training].[Training Date]) Is Null) AND ((Employees.[Supervisor Email])=GetEmail()) AND ((Employees.[Active?])=Yes))
ORDER BY Employees.[Last Name], Employees.[First Name];