MS Access Tips and Examples

advertisement
In order to enforce referential integrity, linked fields must be of the same data type (e.g., integer, long integer, etc.).
Otherwise
you get
this error
MS Access Tips and Examples
1
In order to enforce referential integrity, it must exist in the data before the relationship is established.
MS Access Tips and Examples
2
One you’ve established referential integrity, you should avoid having situations that produce referential integrity warning messages.
The biggest issue is linked fields (i.e., foreign keys). Rather than have your user type in the foreign key (and risk making a mistake),
try one of the following methods.
Lookup tables using the table containing the primary key as the source of foreign key choices
MS Access Tips and Examples
3
You can use this same lookup feature on the forms by inserting a combo box or a subform. Note that the wizard
MS Access Tips and Examples
is selected.
4
Download