Solved

Write conflict

Posted on 2009-05-19
5
599 Views
Last Modified: 2013-11-29
I have been running a medical application successfully in one hospital for ~4 years.  It consists of an MS Access GUI with SQL server backend.  I have recently created a second instance on a virtual server in another institution, using same GUI, same SQL database.  However, I am now getting write conflict messages from the Access GUI.  This occurs even when a single record is being accessed by a single user, although multiple users may be accessing the same table concurrently.  MS Access is set to 'No lock'.

This does not occur in the first institution, and I suspect there may be something causing this in the 2nd environment, but cannot figure it out.  Any help or suggestions would be gratefully received.
0
Comment
Question by:pjstow
  • 2
  • 2
5 Comments
 
LVL 13

Accepted Solution

by:
TommyTupa earned 500 total points
ID: 24427943
I had a similar problem resolved by adding a default value to my bit fields and a timestamp column to sql server.  The timestamp column isn't actually a timestamp but a GUID that gets updated every time a row is updated.  Here are two links which discuss the problem.

1) http://support.microsoft.com/kb/280730
2) http://groups.google.com/group/comp.databases.ms-access/browse_thread/thread/7a5d86137f410687/d9c1bf173b19f687?hl=en&q=avoid+write+conflicts+sql+group:*access*#d9c1bf173b19f687
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 24433755
1. <I have recently created a second instance on a virtual server in another institution>
Access is not meant to be run in this way.
Why not just install the application for this other institution?

2. Is the database "Split"

0
 

Author Comment

by:pjstow
ID: 24436230
TommyT:  Thanks for the useful references.  A timestamp has fixed the problem.  If only the rest of life were so simple.  Thankyou +++

boaq2000:  Sorry, but I cannot have explained the problem adequately.  The institutions are entirely separate with separate SQL database and Access GUI at each site.  It's merely that the problem arose at one site, and not the other.  May be related to volume of use, or just work practices.  See above.  I'm happy.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 24438263
OK,

Sorry if I misunderstood you.

Jeff
0
 

Author Closing Comment

by:pjstow
ID: 31597513
Thanks for your advice.  My problem has been solved.  I have also made subtle changes to the GUI to smooth the process.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now