Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determin if an unopened table is used exclusive somewher
Message
From
09/07/1999 22:05:24
Dennis Schuette
Customized Business Services, Llc
Yuma, Arizona, United States
 
 
To
09/07/1999 17:03:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00239654
Message ID:
00239736
Views:
8
>>Is there a function that states whether an unopened table is being used exclusively by another user somewhere? So far I can only check it with my error handler, but I would rather have a better option for some small utilities I am creating.....
>>Thanx, Ryan.
>
>The only way to do this is to try to open the table and catch the error in an error handler.

The Low Level File Function FOPEN()returns a -1 if it cannot gain access to the file in question.
Also, check out the documentation for other return values.
Denis
Dennis Schuette
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform