Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TABLEUPDATE()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00479674
Message ID:
00479802
Views:
27
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform