chuckduarte
New member
- Local time
- Yesterday, 18:16
- Joined
- Feb 19, 2019
- Messages
- 18
I'm appending to a new table and I get a key violation. It's not the data from the source table nor is it the destination table to same columns. I created the destination table from the source so everything matches. If I do not include any referential links where each table stand alone. Everything works. If I add the primary key it still works. I can add the relationship PK from Main Table and place the FK in the new table with the exception that the Enforce Referential Integrity check box (Unchecked) it works. Once I add the FK to the destination table. I get the key violation. I have no keys in my source table. Only in my destination table. So why is this happening? I also have my FK set to "Index = Yes (Duplicates OK). I don't know what i'm missing? Also compacting and repair has no affect; thought I'd try it. Don't know if it matters the source data is imported from Excel into the source table.