>hi fred.
>
>would be nice to have Vfp7 or 8 now. I am afraid i have to find a solution for Vfp6 :(, thanks for the tip anyway.
>
>>>hi everybody.
>>>
>>>i am trying to advance my ErrorTrap and whant to include all tables currently open. i am working with private datasessions and free tables in Vfp 6.0 Sp5. to find all tables i can use
AUSED(ArrayName [, nDataSessionNumber])
but what how can i get a list (or counter) of all currently available datasessions?
>>>
>>>any idea out there?
>>>your help is greatly appreatiated!
>>
>>VFP7 and above have an ASESSIONS() function.
I was just about to add to the message that you could use a sufficiently large enough number and trap the error that the datasession doesn't exist.