I have two tables that join a relationship.
- tblEmployeeDetails
- tblEmployeeDocumentExpiry
Tables are joined as one to many with Enforce Referential Integrity is selected.
I have a query which combines data from both tables [queryEmployees].
I have a form to enter/update/delete data onto that query [frmEmployeeMgmt].
My problem is only with deleting records from that query. When I delete a record, it gets deleted from one table only [EmployeeDocumentExpiry]. I am looking for a scenario that when a record is deleted from that query, it gets deleted from both tables.
Any ideas please. https://i.stack.imgur.com/WbWMb.png