Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement