Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controling DataEnviroment at run time
Message
De
16/03/1999 10:06:34
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00198030
Message ID:
00198064
Vues:
22
Don-

>could you just pass as a parameter the datasessionid from the first form to the second
You might already be aware that this technique isn't recommended by MS except as a debugging/development tool. Doesn't mean it doesn't work, as you found, but it's generally not considered "good form" so to speak. Frankly, I've never even needed it during development, since, if you break the program, the command window commands will operate on the current datasession. And if you need to know about another, then you're probably violating rules of (as I understand them) encapsulation.

This really isn't a quibble...It maybe that datasession IDs will change and you may lose functionality in the future. Just something to be aware of.

>If you need the actual data enrivonment object, then you could just pass the entire form as a parameter to the other form
You can also just pass the data environment object itself if you don't need the whole form object.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform