Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loop through datasessions
Message
From
21/03/2003 12:21:06
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00768648
Message ID:
00768668
Views:
23
ja that could work, but i think it is possible to have for example a DS 1 and the next one could be DS 1000 with nothing inbetween. i have currently in my testing a DS 1 and a DS 3, no DS 2. so that loop would have to be pretty high to try to ensure you got all. i don't know what the rules are when vfp creates new DS and related rules.

>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform