A family of Microsoft relational database management systems designed for ease of use.
Dear @Silindile Mhlongo,
I hope you’re having a good day
To create a relationship with Enforce Referential Integrity, Microsoft Access requires that the tables involved are not currently open.
If you have a table open, you can close it by:
- Clicking the X on the table's tab.
- Right-clicking the table tab and selecting Close.
- Using the keyboard shortcuts Ctrl + W or Ctrl + F4 to close the active table, query, form, or report.
Please note that Access may display a prompt asking whether you want to Save, Don't Save, or Cancel any changes before the object closes. Make sure you respond to that prompt; otherwise, the table may remain open and Access will still prevent you from creating the relationship.
Also, if closing the tables does not resolve the issue, check whether any related queries, forms, or reports are still open, as these can also lock the tables and prevent changes to relationships.
Once all related objects are closed, go to: Database Tools > Relationships
Then create the relationship and select Enforce Referential Integrity.
If Access still displays an error message after everything is closed, please share the exact message.
I hope this information helps point you in the right direction. If you run into any issues while trying the steps, or if something still doesn’t feel quite right, please don’t hesitate to reach out again. I’ll do my best to support you however I can.
Looking forward to hearing back from you with any updates or additional details.
Warm regards,
If the answer is helpful, please select "Yes, accept answer". If you have any questions or new updates, please feel free to comment below.