Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TABLEUPDATE()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00479674
Message ID:
00479802
Vues:
26
VFP will lock the record for you automatically with pessimistic table buffering as soon as a field is changed. You shouldn't mix RLOCK with buffering (table or record, optimistic or pessimistic), because this will confuse VFP.

HTH
>I use my file and file buffering = 4 (Table buffering).
>Before write in it, I call RLOCK.
>Ex:
>
>SELECT FILE
>RLOCK
>REPLACE ...
>
>If I call UNLOCK, I get an error (File is in use) with TABLEUPDATE(.t.,.t.)
>
>EX:
>
>IF ! TABLEUPDATE()
> AERROR(zvERR)
>ENDIF
>
>Do you know why?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform