>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.
For VF6 or earlier, just pick a fairly large number and continue what you've done. (10-25 should be more than sufficient)