Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loop through datasessions
Message
From
21/03/2003 12:13:06
 
 
To
21/03/2003 12:11:31
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00768648
Message ID:
00768664
Views:
23
>hi fred.
>
>would be nice to have Vfp7 or 8 now. I am afraid i have to find a solution for Vfp6 :(, thanks for the tip anyway.
>
>>>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.

I was just about to add to the message that you could use a sufficiently large enough number and trap the error that the datasession doesn't exist.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform