Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Mark,
So that explained why I got that form behavior with regard to data session
because I instantiated the child form by using CreateObject on form base class
instead of using DO FORM command, right?
Kam.
>The one situation where this will not happen is if the parent form launches a >child form with a goApp.DoForm('mychildform'). This child form that is set to >use the default datasession will inherit the datasession in which the goApp >object was instanciated [probaby the VFP DS -- DS #1].
>For the child form to inherit the parent DS, you have to DO FORM MYCHILDFORM >directly from the parent form.
Précédent
Suivant
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