Fundamental error. ISRLOCK() doesn't tell you if someone else has it locked, only if YOU have it locked within this session of VFP. Won't even tell you if another instance of VFP on your own machine has a lock or not.
Fred On Fri, Apr 24, 2009 at 1:04 PM, Jack Skelley < jskel...@mail.newjerseydevils.com> wrote: > Good Afternoon All: > It's been along time since I wrote anything in a multiuser environment. And > I mean along time! And never anything in VFP. The last could have been in FP > DOS 2.6... > So.... > Set exclusive off > use mytable shared > and... > I locate a record > check for a lock with isRlock() > It returns false and I issue a lock() > I ask: is the record locked and it returns .t. > Now I launch the same application on the network and locate the same record > in the same table > check for a lock with isRlock() and it returns .f. > On the first form I ask if the record is locked and it returns .t. > Obviously I am missing something but I don't know what > I have read the help screens for a multiuser app and still not able not > allow an edit on the second instance of the app. > Can someone point me to where I read about how to do this? > Thanks! > Regards, > > Jack Skelley [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/3392e7100904241657i7d71f642xb2cb89442692a...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.