Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determin if an unopened table is used exclusive somewher
Message
De
09/07/1999 22:13:14
 
 
À
09/07/1999 22:05:24
Dennis Schuette
Customized Business Services, Llc
Yuma, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00239654
Message ID:
00239740
Vues:
9
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform