A family of Microsoft relational database management systems designed for ease of use.
Hi @Harold E1
In addition to checking for orphaned records, verify the following:
- The related fields have compatible data types. If the parent field is an
AutoNumber, the corresponding child field should normally be aNumberfield with Field Size = Long Integer. - The parent field is a primary key or has a unique index. The field on the "one" side of the relationship must uniquely identify each parent record.
- The relationship uses the intended fields. Make sure you are relating the correct fields, for example,
ParentTable.ID>ChildTable.ParentID, rather than another field containing similar values. - There are no duplicate values in the parent field. If the parent field is not the primary key, it must have a unique index for Access to use it on the "one" side of the relationship.
- Null values are handled as expected. A
Nullvalue in a child foreign-key field is not considered an orphan. However, every non-null foreign-key value must have a matching parent record. - The tables support enforced relationships. If the tables are linked, read-only, or stored in a separate back-end database, this can affect where referential integrity can be enforced. For a split Access database, for example, the relationship should be created in the back-end database where the tables physically reside.