Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for existence of datasessions
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00692146
Message ID:
00692160
Views:
18
Thanks to you both for such a quick response. I figured it was something simple I missed in the documentation (you'd think there would be a link to it in the "set datasession" help entry...).



>There's ASESSIONS() Function in VFP7.
>
>>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
Steve Howie, owner
DaSH Technology
Denver, CO
Previous
Reply
Map
View

Click here to load this message in the networking platform