>>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...