Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optimistic Row Buffering, TableUpdate(.T.) and FLOCK()
Message
De
17/03/1999 11:58:52
 
 
À
17/03/1999 11:50:46
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00198612
Message ID:
00198618
Vues:
23
Hi Ian ---

First off, is table buffering still on for the table when you try the RLOCK(). Secondly, what is failing and what is the error message?

Finally, RLOCK() and buffering doesn't always get along well....in VFP 3.0, for example, you had to issue a UNLOCK RECORD 0 after a TABLEREVERT() to unlock the header of a table.


>After I issue a TABLEUPDATE(.T.), records that are no longer being viewed on tables with OPTIMISTIC ROW BUFFERING are failing at a:
>
>> IF RLOCK()=.t.
>> MESSAGEBOX(XXXXXXX)
>> ENDIF
>
>routine. Apparently they are not being unlocked. Why is that? Do I have to use UNLOCK???
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform