A
Amanda Byrne
I have a query that runs when the user clicks a button in a form, and it
returns a message that says it did not add a record to the table due to a key
violation.
The query is:
INSERT INTO AccountInterest ([Ref Type], [Household ID], [People ID],
[Interest ID] )
VALUES ('People', '1', '1', '24');
AccountInterest only has one other field, which is [AccountInterest ID]. It
is the primary key field and is set to autonumber.
What could be the hangup?
Thanks, Amanda
returns a message that says it did not add a record to the table due to a key
violation.
The query is:
INSERT INTO AccountInterest ([Ref Type], [Household ID], [People ID],
[Interest ID] )
VALUES ('People', '1', '1', '24');
AccountInterest only has one other field, which is [AccountInterest ID]. It
is the primary key field and is set to autonumber.
What could be the hangup?
Thanks, Amanda