Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a class that emulates the SET command ?
Message
From
08/05/2001 13:18:41
 
 
To
08/05/2001 11:46:23
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00504523
Message ID:
00504844
Views:
19
>>Some time ago, Ed Rauh was kind enough to provide me with some code for managing data sessions (which works beautifully, I might add). Thread# 316297, Message# 316405.
>
>Unfortunatley, thats not somethign you can just plug into your code and see how many sessions are avialable. The way I do it is like this:
>
>
on error lnDS = lnDS - 1
>lnDS = MAX_DATASESSIONS
>for x = 1 to MAX_DATASESSIONS
>	lcSetDS = "set datasession to " + str(x)
>	&lcSetDS
>endfor
>?lnDS
Mike, you are aware that this will be a piece of cake in VFP7 using the ASSESSIONS() function...
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform