Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lock the DBF Header?
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00156987
Message ID:
00157001
Views:
31
>Is there a command in 2.6 equivalent to VFP RLOCK(0) to lock the header record. What we need is some way to lock the header to enable us to append data in a multi-user environment. In VFP, you can issue an RLOCK(0) where the parameter is the record number. If you issue this call in 2.6, it expects the work area as the parameter!
>
>We need to do this to enable us to have control over what to do if we cannot append the data to the file. Reprocess is not an answer, we have looked at that.
>
>Can anybody help???

Nigel,

Have you tried FLOCK()?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform