dbTalk Databases Forums  

Identify source of record lock

comp.databases.ms-access comp.databases.ms-access


Discuss Identify source of record lock in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bob Darlington
 
Posts: n/a

Default Identify source of record lock - 12-23-2009 , 06:07 PM






My application uses A2002 with up to 8 concurrent users with record level
locking on open.
The site is remote from my office.
From time to time, one of my users encounters record locks (with the crossed
out circle appearing in the record selector).
No one is editing the current record at the time, but I'm assuming that it
is caused by another user editing a related record in a linked table in the
underlying query.
Is there any way to determine which user and/or which edited record(s) is
causing the lock?
Also, is there any chance that a network system setting could have an
affect?
--
Bob Darlington
Brisbane

Reply With Quote
  #2  
Old   
Tom van Stiphout
 
Posts: n/a

Default Re: Identify source of record lock - 12-24-2009 , 09:13 AM






On Thu, 24 Dec 2009 09:07:22 +1000, "Bob Darlington"
<bob (AT) notheredpcman (DOT) com.au> wrote:

You're using a very strict locking setting. Isn't Optimistic Locking
good enough? It is for 99% of the applications out there.
Access locks a data page at a time, which may hold more than one
record.
No you cannot, although some error messages include at least the
machine information: "... is locked by ... machine <machinename>..."

-Tom.
Microsoft Access MVP


Quote:
My application uses A2002 with up to 8 concurrent users with record level
locking on open.
The site is remote from my office.
From time to time, one of my users encounters record locks (with the crossed
out circle appearing in the record selector).
No one is editing the current record at the time, but I'm assuming that it
is caused by another user editing a related record in a linked table in the
underlying query.
Is there any way to determine which user and/or which edited record(s) is
causing the lock?
Also, is there any chance that a network system setting could have an
affect?

Reply With Quote
  #3  
Old   
Bob Darlington
 
Posts: n/a

Default Re: Identify source of record lock - 12-28-2009 , 05:56 PM



Thanks Tom,
I'll play around with the lock settings.

--
Bob Darlington
Brisbane
"Tom van Stiphout" <tom7744.no.spam (AT) cox (DOT) net> wrote

Quote:
On Thu, 24 Dec 2009 09:07:22 +1000, "Bob Darlington"
bob (AT) notheredpcman (DOT) com.au> wrote:

You're using a very strict locking setting. Isn't Optimistic Locking
good enough? It is for 99% of the applications out there.
Access locks a data page at a time, which may hold more than one
record.
No you cannot, although some error messages include at least the
machine information: "... is locked by ... machine <machinename>..."

-Tom.
Microsoft Access MVP


My application uses A2002 with up to 8 concurrent users with record level
locking on open.
The site is remote from my office.
From time to time, one of my users encounters record locks (with the
crossed
out circle appearing in the record selector).
No one is editing the current record at the time, but I'm assuming that it
is caused by another user editing a related record in a linked table in
the
underlying query.
Is there any way to determine which user and/or which edited record(s) is
causing the lock?
Also, is there any chance that a network system setting could have an
affect?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.