G
Guest
I have created the following update query to run from a command button.
UPDATE tblLastEmpID SET tblLastEmpID.LastEmployeeID = (SELECT Max(Employees.EmployeeID) FROM Employees);
The purpose of the query is to take the last EmployeeID from my Employees table and store it in the table "tblLastEmpID". This field will be bound to a control on another form so the user can view it and then update it by clicking the command button.
When I run the query the following error message appears - Can any one help
"Operation must use an updateable query"
UPDATE tblLastEmpID SET tblLastEmpID.LastEmployeeID = (SELECT Max(Employees.EmployeeID) FROM Employees);
The purpose of the query is to take the last EmployeeID from my Employees table and store it in the table "tblLastEmpID". This field will be bound to a control on another form so the user can view it and then update it by clicking the command button.
When I run the query the following error message appears - Can any one help
"Operation must use an updateable query"