Write Conflict - Open Record

R

Ryan Langton

I recently converted an .mdb application to an .mdb with SQL linked tables.
I have several forms that allow a user to enter in a new record and then
click a save button (the code runs DoCmd.RunCommand acCmdSave). Since
converting, these forms are giving me a Write Conflict error when I click
the save button - something like "Warning - the data cannot be saved because
another user has the same record open - Copy to Clipboard or Drop Changes"
(the Save Record button is disabled on this warning popup). I then end up
with an open record in the database which I cannot close or delete without
physically going to the SQL server and deleting the record.

Any ideas what could cause this problem?

Thanks,
Ryan
 
R

Ryan Langton

I have narrowed the problem down some. It appears that there are some
UPDATE and INSERT INTO queries written into the code everywhere this problem
exists. Still looking..
 
O

Ons

Ryan Langton said:
I recently converted an .mdb application to an .mdb with SQL linked tables.
I have several forms that allow a user to enter in a new record and then
click a save button (the code runs DoCmd.RunCommand acCmdSave). Since
converting, these forms are giving me a Write Conflict error when I click
the save button - something like "Warning - the data cannot be saved
because another user has the same record open - Copy to Clipboard or Drop
Changes" (the Save Record button is disabled on this warning popup). I
then end up with an open record in the database which I cannot close or
delete without physically going to the SQL server and deleting the record.

Any ideas what could cause this problem?

Thanks,
Ryan
 

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


Top