Yes and no. Your users would need administrative rights on he server with the DBF having locks. And that's not really practical to give such privileges to every user.
The solution with adminstrative rights is shown here:
This works at least on the file level. You might also find out, where and how the OS maintins which client and therefore which user locks single rows.
A simple solution would be to write on your won, who locks what record, by writing that to a log table or text file right before or after you RLOCK records or UNLOCK them. You also might fill a field with ID() after you locked a record, which also is a sure sign you locked it, as you can write to it.
The problem with that is, that there are not only manual locks but also automatic locks, anytime you write to any file, not only in foxpro, this is very core definition of the OS to maintain file health and that is prioritised to availability of the files to all users.
What makes this more complicated is Raid and SAN and errors of the OS or network. I can tell you stories from over 10 years experience in small and large networks with switches playing a role, etc.
So, if you have problems with locks, from my perspective the easy way out is to not try to stabilize VFP, he OS, the LAN, switches, drivers, memory caches, etc., but to switch to a server database. A real server database decouples the data from the clients and thus may only have local problems with this, you can easier address.
Unless you only have a few clients in a small otherwise well working network, which should work, and unless you not find a logical error in your locking/unlocking design, then it's a sign you reached a limitation, no matter if data volume and number of users is low, the problems arise with a large enough number of concurrent access, and that also can occur with otherwise unproblematic seeming conditions. In the end as I was in such situations we only partly resolved instabilities, with the help of on site network administrators and experts on the field of network protocols and then as the final step moved to a real client/server database decoupling the clients from the data storage via the server side process queuing and prioritizing the requests and maintaining the resources like the file or files making up the data.
So, what's your overall situation?
Bye, Olaf.