How to handle Referential Integrity for Inserts in Access
问题 I'm working on an Access project that I took over from a co-worker. There are three tables that exist: rules , overview and relationship . The relationship table has two fields, each is a foreign key that links to a primary key in the other two tables. I have a datasheet view of the rules table in a form, where I can delete records with no problems. However, when I try to insert a record into the rules table, the record will be inserted into the rules table, but there is no matching record