Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find open DataSession
Message
De
21/08/2000 15:03:29
 
 
À
21/08/2000 14:48:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00407463
Message ID:
00407471
Vues:
24
>Being in a prg (projects's main.prg). Is there a way to check if there is DataSession still open and which one it is, ie. which number (other the datasession #1).

You can try something like:
on error lnDS = lnDS - 1
lnDS = MAX
for x = 1 to MAX
	lcSetDS = "set datasession to " + str(x)
	&lcSetDS
endfor
?lnDS
Though, its not very efficent. Consdier storing and restoring the error handler too.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform