Hi Craig
>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.
I have looked up the code and I really appreciate the logic. One question I have is that FCREATE() after creating will keep the file open till the user exits from the app, no need of maintaining the returned file handle nor of FCLOSE()ing it. Hope I have understood it correctly.
Second is that you have assumed that there is a users table where the filename can be stored. Have you any suggestion where there are no users table, yes my users want concurrent execution but are not interested in login and such.
Please advise.