Products for Access Forum.zip
I have Access 2007.
I have two tables: "Mix Recipes" and "Mix Trials." The "Recipe ID," which is also the Primary ID, from Mix Recipes has a relationship with the "Final Mix ID" from Mix Trials. The relationship is already established with the "1" labeled next to "Recipe ID" and the infinity symbol next to "Final Mix ID."
I copied an entry from the Recipe ID field and pasted it in one of the Final Mix ID entries. Then I get this error:
You cannot add or change a record because a related record is required in table <name>. (Error 3201)
You tried to perform an operation that would have violated referential integrity rules for related tables. For example, this error occurs if you try to change or insert a record in the "many" table in a one-to-many relationship, and that record does not have a related record in the table on the "one" side.
If you want to add or change the record, first add a record to the "one" table that contains the same value for the matching field.
I don't get it. I copy/pasted one entry to the next.
I should mention that the other entries in that same row in Mix Trials has names and other entries already. I just deleted the entries under "Final Mix ID," so I can enforce the referential integrity when I create the relationship.
Now what could be the problem? Is it because I added an option under format?
Also, I realize I cannot enforce referential integrity when I use LookUp. How else do I add a scroll thing that lists unique values from Recipe ID of Mix Recipes in Final Mix ID of Mix Trials?