Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple wizard form uses private data session - behavior?
Message
De
02/09/1999 21:41:50
 
 
À
02/09/1999 21:33:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00260953
Message ID:
00260958
Vues:
10
I don't use the Form wizard, but if you want your environmental settings to be the same, repeaty them in the BeforeOpenTables event of the DataSession in the Form.

>After creating a simple, one-table form using form wizard, I noticed that it sets up a private data session.
>
>Fine, but as we all know, private data sessions get their own set of environment variables set to default values. So (to avoid having to read through all that class code) can anyone tell me if the canned form from the wizard does the right thing...which is to preserve all of the ev values from datasession1 and only modify the ones it needs to do its work...?
>
>If not, is there a good place in the initialization sequence of the canned form to insure that the private ds uses all of my environment variable settings ... or is this just playing with fire since I don't know what assumptions about the environment variables are built into the canned form?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform