Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I access another Data Session without selecting it
Message
 
 
À
09/01/2001 11:28:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00461208
Message ID:
00461213
Vues:
15
>Sometimes when I am in a private datasession there is a value in another data session I want.
>
>I realise I can use set datasession to switch back to the other session
>get the value and then switch back again but I wondered if there was a different way that I have missed.
>
>Thanks

There is no way to do this manually without using SET DATASESSION TO.

One way to do it automatically is to add a method to the form or session that created the datasession. When you make a call to the object, VFP will automatically switch to that datasession and use you can return any value you want. The datasession will automatically switch back when you leave the object.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform