Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record locked mystery.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00085732
Message ID:
00085768
Views:
31
>>>Hi,
>>>
>>>Can anybody help me to solve a small mystery. I have several users on network. One of them may edit a Foxpro table (2.5 or 5.0) and ,therefore, have a record locked. What tools do I have to find out who has this record locked?
>>>
>>>Thanks in advance.
>>>Igor Gelin, system developer
>>
>>You can e.g. add one more field to this table. When user RLOCK() the record s/he also will fill this field with UserId or MachineName etc.
>
>Hi Ed,
>
>The problem is that I got huge and very old project. It is infeasible to add new fields. Moreover Foxpro able to locks records automatically and I don't have to lock records programatically. What I need is a way to uncover the user whom locked the record without changing the project.

Igor,

Depending on the network environment, there are tools that you can use to determine who has a lock (not what record), on a specific file. In Novell, it's a little cryptic, but you can tell if it is a record or file lock, and who has it on what table. This can all be done from MONITOR on the system console. I'm not sure about NT, but I do know that to determine who is even using a file in NT, you need to have the system on an NTFS partition.

HTH,

Rod Lewis
Rod Lewis
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform