Access Lock Violations

Joined
Aug 25, 2009
Messages
1
Reaction score
0
I am working on a project that involves access and sql server
i conncted my access project to my data base by using odbc connection.
now i can read data from my tables, but when i'm trying to insert data or delete it i get an error:

"can't delete 1 record(s) in the delete query due to key violations and 0 record(s) due to lock violations"
(when i tried to delete a raw)

now if i will run the query while the table is open it will be executed

i don't really understand the problem
is it cous i have some tables that are connected to each other? do i need to open connection to all the tables? and how can i do that?

please help
 

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

Similar Threads

Update query fails due to lock violations 3
Delete query 2
Validation error 5
Access Parking violations Access Database 0
Lock Violations 4
Return values 1
Access lock violation 2
No current record. 2

Top