Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Used() function
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00217407
Message ID:
00217941
Views:
20
>that's ok because they will get an error message instead. Thanks
>
>>You could use the table and check the result of FLock() before trying to use it exclusively. You still have a chance that another user open the table between the time that you close the table and reopen it exclusively, though.

Timothy,

File lock and exclusive use are no the same thing. You can FLOCK a file that someone else has open. Also, getting the flock is no guarantee that you will still get exclusive use, so you need to cover that possiblitiy anyway.

Relax, and stop fretting over three or four lines of code.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform