>That doesn't work, but this will, if you know the Max number of DS's
>
>
on error lnDS = lnDS - 1
>lnDS = MAX
>for x = 1 to MAX
> lcSetDS = "set datasession to " + str(x)
> &lcSetDS
>endfor
>?lnDS
And you might want to save and reset ON ERROR.
That's exactly what I meant by testing all datasessions within reason. Still not as nice as a ADATASESSIONS() function would be.
Erik Moore
Clientelligence