By now, I'm sure some are asking what problems referential integrity prevents. Well without referential integrity, you can enter foreign keys that do not match the corresponding primary key in the related table, depending on the type of database this could cause a lot of problems such as mismatched customer data and mismatched transaction records. Obviously this type of mistake could cause a huge loss of money and time if the mistake is not found in time.
Luckily for developers using the MS Access Office program, referential integrity is quite easily turned on and is an important feature in Microsoft Access. Simply select the "Design" tab and then "Relationships". From there click and drag the two fields you wish to connect, you will be prompted with the following dialogue box where you just need to check the "Enforce Referential Integrity" and hit "Create".


