Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rlock
Message
De
04/10/1999 23:10:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Re: Rlock
Divers
Thread ID:
00272535
Message ID:
00272557
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform