The method described my Metin will work, but there are issues. You have to be careful to not issue UNLOCK ALL or to UNLOCK in the wrong work area. Look at
http://www.craigberntson.com/Articles/kb003.htm for a different method.
>Hi all
>
>I have this shared DBF. Each and every user of the application will have a shared access to this DBF constantly.
>
>I want to know how many are using the DBF concurrently. I have a counter system to know the no. of users, but when a node hangs, this goes out of sync.
>
>Please advise.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer