Hi Jay,
you could use AUSED()
AUSED(ArrayName [, nDataSessionNumber [, cTableName]])
>I need to lists of all open tables and cursors at different places in my code for debugging. There is no database, just free tables. How can I do that? I don't care if it's a text file or a table itself. Just want to see what is open at different times.
Best Regards
-Tom
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011