Rules for Updating Tab, RI Builder

JavaScript Editor js editor     Web development 



Main Page

This tab in the Referential Integrity (RI) builder specifies rules to apply when the key value in the parent table is modified.

Cascade


Specifies that changes in the fields of the Primary or Candidate key of the parent table are reflected in related child tables. If you select this option, any time you change any of those fields in the parent table, Microsoft Visual FoxPro automatically changes the corresponding values in all related child table records.
Restrict


Prevents modification of values in fields of the Primary or Candidate key of the parent table so there are no orphaned records in the child table.
Ignore


Makes it possible for you to update records in the parent table, even if there are related records in the child table.
Referential Integrity Grid


Parent TableВ В В displays the name of the table in the database relation containing the primary or candidate index. Child TableВ В В displays the name of the child table in the database relation. UpdateВ В В displays the update rules for referential integrity for the relation. Possible values are Cascade, Restrict, or Ignore. You can change the settings by selecting the field, which will present a drop-down list of the choices. DeleteВ В В displays the delete rules for the referential integrity for the relation. Possible values are Cascade, Restrict, or Ignore. You can change the settings by selecting the field, which will present a drop-down list of the choices. InsertВ В В displays the insert rules for the referential integrity for the relation. Possible values are Cascade, Restrict, or Ignore. You can change the settings by selecting the field, which will present a drop-down list of the choices. Parent TagВ В В grid column displays the tag name of the index in the Primary or Candidate in the Parent table. Child TagВ В В grid column displays the tag name of the index in the child table.

See Also



JavaScript Editor js editor     Web development