Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determin if an unopened table is used exclusive somewher
Message
 
To
09/07/1999 16:58:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00239654
Message ID:
00239686
Views:
10
>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.

Ryan,

There is no way to know if a table is avaialable except openning it. Think about it this way, what if you called some function that said "Yes, this table is available" and then between that call and the next someone used the table. The only way you can know that a table is available for exclusive open is to open it and see if it succeeds. Your error handler approach is the way.
Previous
Reply
Map
View

Click here to load this message in the networking platform