Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can you determine who has a table locked

Status
Not open for further replies.

Pack10

Programmer
Feb 3, 2010
495
US
Is there a way to determine who has a table locked.
I am trapping error 3009, but I would like to display to the users the
table is locked by.....John or Bob.
 
How about checking the ldb or laccdb lock file? That may not tell you which user has a specific table locked, but at least will let you know who is in the database. Just open the lock file with a text editor and it will contain the usernames of people currently in the database.
 
Thanks for the response but there are 5 users who are always in the app during the day.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top