Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obtaining datesession number
Message
De
21/08/2003 13:56:51
 
 
À
21/08/2003 08:59:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00822149
Message ID:
00822281
Vues:
12
>how can i obtain the datasession number
>because i want to do
>
>
>set datasession to [number]

In the case that you're working with an object that doesn't want/need/can't reference all the way back to the form, you can use:
LOCAL nSession
nSession = SET("DATASESSION")
.
.
.
SET DATASESSION TO nSession
One thing I learned the hard way is that if you change the datasession for any reason, be sure to put it back where you found it before you exit your method.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform