Try ASESSIONS()
>I have a renegade file that appears to stay open in another datasession and I need to be able to scan through all possible sessions and tables to close it as necessary. In the old days with one session, all you had to do was check used() to see if it's open. Now with multiple data sessions, I assume I have to do that for each open datasession. However, if I "set datasession to" an invalid session, I get an error. Is there a way to check how many datasessions are open and which id's so I can scan through them?
>
>Thanks in advance {:-0
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer