M
m stroup
LM_Billets
slot(PK)
dept
LM_People
slot(FK)
I have the following query set up. I want to be asked for a dept and then
delete all records in the LM_People table who are assigned to that dept.
(If I can delet the linked record from LM_Billet at the same time, it would
be sweet.)
DELETE LM_People.*, LM_Billets.*, LM_Billets.Department
FROM LM_Billets INNER JOIN LM_People ON LM_Billets.Slot = LM_People.Slot
WHERE (((LM_Billets.Department)=[Enter Department]));
I get the error message: Could not delete from specified tables.
I have tried removing LM_Billets from query fields as well. Same message.
Any thoughts?
Any suggestions
slot(PK)
dept
LM_People
slot(FK)
I have the following query set up. I want to be asked for a dept and then
delete all records in the LM_People table who are assigned to that dept.
(If I can delet the linked record from LM_Billet at the same time, it would
be sweet.)
DELETE LM_People.*, LM_Billets.*, LM_Billets.Department
FROM LM_Billets INNER JOIN LM_People ON LM_Billets.Slot = LM_People.Slot
WHERE (((LM_Billets.Department)=[Enter Department]));
I get the error message: Could not delete from specified tables.
I have tried removing LM_Billets from query fields as well. Same message.
Any thoughts?
Any suggestions