Information générale
Catégorie:
Gestionnaire d'écran & Écrans
You can call form 'B' from form 'A' in this way,
DO FORM yourform WITH THISFORM
In Init method of form 'B', put this code to gain the reference
LPARAMETERS poParentForm
THISFORM.oParentForm = poParentForm
Afterwards, you can refer to the parent form by THISFORM.oParentForm within form 'B'
e.g.
=MESSAGEBOX(THISFORM.oParentForm.TextBox.Value)
Geoffrey Ng
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