Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine table in use?
Message
 
À
01/03/2005 16:59:45
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:
00991783
Vues:
12
>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

IF in other's DS You open the table shared,
Try to OPEN the Table Exclusive.
IF successful all is OK - the Table isn't open from other DS.

HTH
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform