Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine table in use?
Message
De
01/03/2005 21:19:36
 
 
À
01/03/2005 19:34:20
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
00991775
Message ID:
00991850
Vues:
12
An error handler is the only way to be sure. On a busy network, someone else can get the table between FOPEN and USE.


>Thank you both for the suggestions. I'll give them a try.
>
>I'm hoping that with FOPEN(), I can simply check FERROR() and not have to do anything with ON ERROR.
>
>>Try to open the dbf using FOPEN(), check what FERROR() returns, if it returns "Access Denied", the file is open somewhere.
>>
>>>Hi All,
>>>
>>>Is there a way to determine if a table is being used in a different datasession without having to loop thru all datasessions and checking with USED()?
>>>
>>>TIA
>>>
>>>Mike
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