- Existing data in the tables violates referential integrity. For example, you have a child record that does not have a matching parent in the primary table.
- You can define a relationship with a linked table, but Microsoft Access does not enforce referential integrity between two tables unless both tables are in the same database, and the database user has permissions to create the relationship in that database.
- You chose the correct fields, but they are not appropriately indexed. Before adding relationships, open the primary table in Design view and set a primary key or create a unique index for the fields you want to use in an enforced relationship.
- Although you can create relationships using queries as well as tables, referential integrity is not enforced with queries.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.