Message
From
14/01/1999 09:34:00
Ng Man Kit
Genesis Systems Ltd.
Hong Kong, Hong Kong
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00175863
Message ID:
00175872
Views:
26
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
Previous
Reply
Map
View