>Sergey,
>
>Thank you. That is exactly the function I wanted. I knew it existed but I failed to locate it the VFP6 help. One would hope it would be listed as a "see also" in the "used" or "use" command help, but it is not. UT rules!
>
>Thanks again,
>
Robert,
Just a note here. AUSED() only returns tables in the current data session. If multiple sessions are in use, tables in other sessions won't be returned. VFP 7.0, however, has an ASESSIONS() function, which returns an array containing the currently active data sessions.
George
Ubi caritas et amor, deus ibi est