View Single Post
  #17  
Old January 17th, 2010, 12:07 AM posted to microsoft.public.access.formscoding,microsoft.public.access.multiuser,microsoft.public.access.queries,microsoft.public.access
Paul
external usenet poster
 
Posts: 68
Default trying to minimize Write Conflicts in a multi-user database

Interesting point, Banana. I am running several queries in the AfterUpdate
event of several controls that append or upate other records in the same
table. I wonder if the problem occurs when those records are on the same
page. Howevr, there are no memo fields in those tables, but then if I
understand it right, in those cases my option settings should enable Acces
to only lock the edited record, not a group (page) of records.



"Banana" Banana@Republic wrote in message
news:4B51ED80.5080706@Republic...
Paul wrote:
No, this is a real issue for me. I've spent the last year working on a
very real project management database in Access 2003. At the moment, I
have 40 users, and a week from Monday, I'm going to have about 100. Just
within the past three weeks, my users have started to encounter the Write
Conflict error I described in my first post.


Other posters has given you many excellent advices. I just want to rule
out one more cause of write conflict: It is possible that the write
conflict errors are bogus because of VBA coding stepping on itself or on
the Access. A good way to do this is to have VBA execute a separate query
that modifies the same record that is being edited in the form. This comes
out as two separate connection and of course the software (whether it's
Access or the backend RDBMS) has no idea that the two separate connection
are actually the same application/user and perceive it as deadlock for
this reason.

Therefore, if your VBA code behind the forms does use queries that update
the same record or maybe different record on the same table that could be
on the same page, this will cause write conflicts.

If your code doesn't have that, then you're probably good and want to look
at others' excellent solutions.

Best of luck.