Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Append Query- Key Violation

Status
Not open for further replies.

jprochelle

Technical User
Jun 18, 2004
36
0
0
US
I am doing an append query. When I run it, the data shows up in datasheet view. but when I actually try to do the append to the table, I get a key violation error. How would I fix this and do I need to explain my primary keys and relationships before I can get help?
 
just a hunch.

When you designed your table you may have fields set with the property "Allow Zero Length" = "NO"

If this is true, then when you run your append query if you has some null values for those fields the query would fail.

Kramerica

 
The two fields being appended to are primary keys and number fields. Thus, there is no "allow zero length" field. Do you have any other ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top