Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why no Directory() like File()?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00301679
Message ID:
00301833
Views:
30
Mark,

It makes no difference how elegant the routine is, there is still a possibility that between the FClose()and the USE command another user opens the table. You still need the error routine to check for a failure.

You can write a super elegant routine to chekc for the ability to open exclusively, but until you actually open the table and succeed there is no guarantee that the USE EXCLUSIVE will succeed.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform