Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for existence of datasessions
Message
De
21/08/2002 15:15:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00692146
Message ID:
00692153
Vues:
23
This message has been marked as the solution to the initial question of the thread.
Try ASESSIONS()


>I have a renegade file that appears to stay open in another datasession and I need to be able to scan through all possible sessions and tables to close it as necessary. In the old days with one session, all you had to do was check used() to see if it's open. Now with multiple data sessions, I assume I have to do that for each open datasession. However, if I "set datasession to" an invalid session, I get an error. Is there a way to check how many datasessions are open and which id's so I can scan through them?
>
>Thanks in advance {:-0
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform