Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loop through datasessions
Message
De
21/03/2003 12:21:06
 
 
À
21/03/2003 12:13:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00768648
Message ID:
00768668
Vues:
22
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform