Quick summary
This tutorial shows how to create a relationship between tables in Microsoft Access using the built-in Relationships tool. You will open the Relationships window, add the relevant tables, link them via a primary key, and enforce referential integrity to maintain data consistency.
Steps
- Open the database file where you want to create relationships between tables.
- Go to the Database Tools tab in the ribbon.
- Click on Relationships.
- Select the tables you want to relate.
- Click Add Selected Tables.
- Drag the primary key field from the parent table and drop it onto the corresponding field in the child table.
- Verify the fields in the Edit Relationships dialog box are correct.
- Select Enforce Referential Integrity to prevent invalid entries in the child table.
- Click Create to save the relationship.
- Click Save to save all relationships.
.gif)



