Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find open DataSession
Message
From
21/08/2000 15:03:29
 
 
To
21/08/2000 14:48:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00407463
Message ID:
00407471
Views:
23
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform