>I would like to use rlock to determine if a record is locked. I have two instances of VFP (SP3) running. In the first instance I open a table, shared, with no buffering and set reprocess to 0. Then I issue rlock() on a specific record. Then in the second instance of VFP, I do all the same setup. When I issue rlock() on that same record I expect it to return false. Instead it hangs.
>
>Can anyone tell me why this is happening?
>
>Thanks much in advance for any assistance you might offer.
>
>BTW, isrlocked() works fine in the original instance, but does not yield correct results in the second session.
SET REPROCESS controls how long VFP waits for a lock.
ISRLOCKED, despite the mileading docs, only tells you if the current session has the record locked.
Erik Moore
Clientelligence