UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

> Lock violations    
 
   
murraymr
post Jun 17 2009, 05:00 AM
Post #1

UtterAccess Addict
Posts: 289
From: London, England



Having developed the basis of a new database for a charity and having demonstrated it to the charity staff I have now been asked to get it installed on their premises. For this I will install MySQL Community Server, and set up the usual ODBC links for each user PC to connect the Access front end to the tables held in the server.

I have done this on my own PC to set it all up in advance and have immediately run into a problem - queries that now update tables in the server from tables in the front end fail with lock violations. I have checked that the tables in the server all have the same specifications as their originals in the front end and have failed to find the cause.

Please ask for any more information needed

HELP!!!

Murray
Go to the top of the page
 
+
 
Start new topic
Replies (1 - 2)
murraymr
post Jun 17 2009, 01:26 PM
Post #2

UtterAccess Addict
Posts: 289
From: London, England



I can provide trhe answer to this, thanks to a posting I found that told me that lock violations will occur with update queries when the data does not change. The solution, therefore, is to code the query to prevent this happening.

Murray
Go to the top of the page
 
+
cheekybuddha
post Sep 1 2009, 10:29 AM
Post #3

UtterAccess VIP
Posts: 5,487
From: Brixton, front line



Murray, thanks for posting this solution - very interesting!

It's probably a good thing for frontend developers not to be lazy and hammer the server when not required.

(IMG:http://www.utteraccess.com/forum/style_emoticons/default/thumbup.gif)

d
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 26th May 2013 - 03:41 AM