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:13:14
 
 
To
09/07/1999 22:05:24
Dennis Schuette
Customized Business Services, Llc
Yuma, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00239654
Message ID:
00239740
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

See Jim Booth's reply to the original message to see why the FOPEN method doesn't work.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform