ACC: Cannot Enforce Referential Integrity in RelationshipLast reviewed: May 28, 1997Article ID: Q112111 |
The information in this article applies to:
SYMPTOMSNovice: Requires knowledge of the user interface on single-user computers. You cannot enforce referential integrity when you are defining a relationship between tables.
CAUSEThere are several reasons why you may not be able to enforce referential integrity when you define a relationship, including the following:
MORE INFORMATIONReferential integrity is a set of rules that preserves the defined relationships between tables when you enter or delete records. If you enforce referential integrity, you cannot add a record to a related table when there is no associated record in the primary table, change a value in a primary table that would result in an orphan record in a related table, or delete a record from a primary table when there is a matching related record. If you select the Cascade Update Related Fields or Cascade Delete Related Records option for a relationship, Microsoft Access will change or delete related records to ensure that the referential integrity rules are enforced when you change or delete records.
REFERENCESFor more information about referential integrity, type "referential integrity" in the Office Assistant, click Search, and then click to view "What is referential integrity."
|
Additional query words: tables ri relationships
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |