G
Greg F.
Is there a way to to tell who has a record locked?
Can it be read from the LDB file?
I am using FE/BE DB.
Thanks,
Greg
Can it be read from the LDB file?
I am using FE/BE DB.
Thanks,
Greg
Is there a way to to tell who has a record locked?
So in order for me to get that detailed would require me to create a
routine that would capture the current user name and current record number
in a table and have it update that table accordingly?
Then I could just check that "lock" table to see what user name has a
record locked.
'69 Camaro said:Hi, Greg.
Yes, but your code isn't going to be 100% reliable, because you can't
guarantee that the code always executes when it should when the database
is closed down unexpectedly, the network connection is lost, or the
workstation loses power.
Yes, but the database engine does this record-locking record keeping
anyway, and a lot more efficiently than you can via VBA. What are you
trying to accomplish? It's not like knowing Joe has a record locked will
allow Mike to do his edits on that same record any faster.
or if Joe walked away, Mike could go to Joe's PC and get him out of the
record.
Another way around this would be to build in an inactivity timer that
would close the form of left idle too long.
Greg F. said:Another way around this would be to build in an inactivity timer that
would close the form of left idle too long.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.