jwcolby
jwcolby at colbyconsulting.com
Wed May 21 06:10:21 CDT 2008
I have to tell you, I don't think that method of discovering the user locking the record is going to be of much use. I log every error raised in my code, for every user, in a log file for review and I have never seen that error since starting the log file. Additionally, if that error were ever raised, all you would have to do is display it to the user since the user / workstation is apparently embedded in the error message. And finally, all of my lock issues appear to be page locking caused by memo fields and indexes when trying to edit / add records. But I am going to throw it in my error handler just in case. John W. Colby www.ColbyConsulting.com Jennifer Gross wrote: > Hi Steven, > > LDBView and UserRoster give me who is logged in, but not who is locking a > particular record. So far, parsing the error description for 3260 seems to > be the only viable option. This error does not seem to be raised with two > sessions on the same machine or on a Windows peer to peer network. With > Windows Server record locking is raising error 3260, as long as the record > is not locked by the same session. At least with my basic testing it seems > that is what is going on. > > Jennifer > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach > Sent: Tuesday, May 20, 2008 1:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Who is locking the record? > > John, > > Could LDBView or UserRoster be of use at all? > > http://www.mvps.org/access/modules/mdl0055.htm > http://support.microsoft.com/kb/285822#1 > http://www.granite.ab.ca/access/corruption/workstation.htm > > Steve Erbach > Neenah, WI > http://www.TheTownCrank.com > > On Tue, May 20, 2008 at 1:41 PM, jwcolby <jwcolby at colbyconsulting.com> > wrote: >> To my knowledge it is not possible. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> Jennifer Gross wrote: >>> No takers on this? Sometimes the Access message is generic and just >>> lets you know the record is locked. Other times when a record is >>> locked Access will display their own message letting the user know >>> who is locking the record. So it seems that information is >>> available, must be in the LDB file >>> - does anyone know how to get at it? >>> >>> 3218 is a record locking error, perhaps 3188 as well. I can trap the >>> error, but I don't know how to identify who is locking the record. >>> >>> Jennifer > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > >