Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Locking - Automatic or Explicit in VFP5?
Message
From
26/12/1997 05:22:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
File Locking - Automatic or Explicit in VFP5?
Miscellaneous
Thread ID:
00067965
Message ID:
00067965
Views:
68
I have been using FOX for many years now and have been used to using explicit (rlock()) locking in all my apps. I have been working on a large VFP5 app for the last 8 months and have been using the older style of code without buffering.

My code generally looks like...
IF RLOCK()
* Record locked so carry out operation
UNLOCK
ELSE
* Unable to lock record so proceed to ON ERROR
ENDIF

I don't use the Data Environment, preferring to open tables in the Load section.

Could you please advise if there is a better way in VFP5 and perhaps include a skeleton as above.

Regards
Doug Johnston
Next
Reply
Map
View

Click here to load this message in the networking platform