Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of DataSessions Open
Message
From
31/12/1999 11:43:23
 
 
To
31/12/1999 11:13:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00310707
Message ID:
00310927
Views:
14
>Fred got as close as you're going to get. With the new session object, there is no way to tell how many datasessions are open without testing all numbers within reason. If you are sure that you have not used the session object, you can spin through _SCREEN.Forms testing for private datasessions.

I haven't tried it, but why not something like:
pnDS = MAXDS
for x = 1 to MAXDS
	set datasession to &x
	if  set('datasession') <> x
 		pnDS = pnDS - 1
	endif
endfor
?pnDS
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform