>Before the session object, this use to be easy. You could just increment through _SCREEN.forms. Now, I guess you have to check every reasonable datasession number. Hmph.
>
>
>>Good question! :)
>>
>>>Now, let's take this a bit further: how do we determine the highest DataSessionID
There's a way, in VFP - just type SET, and it will let you pick the datasessions from the combo on the top. So, VFP knows it, only doesn't expose a function to get it.
So, I'd refresh my old FoxWish - exposing internal functions like GetAllDataSessions(), AddMethod(), ALowLevelFileHandles()... and I assume others will remember the rest.