Key Violation Errors using Update Query

B

Billy

I have 2 Tables. Table1 has PartNumber and PartID. However, PartID
is currently empty. Table2 has PartNumber and PartID (PartID is
autonumber and is the primary key). In the Update Query, I have
Joined the Tables using "Only include rows where the joined fields
from both fields are equal."

Since I am updating Table1 where the primary key is StockID, why am I
getting KeyViolations by using Table2.PartID as part of the update?
It seems like it wouldn't matter if Table2 primary key is PartID since
I am not updating that table, only using the data inside it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top