PARAMETERS oform, mcallnum THISFORM.oForm = m.oForm && You need to create the oForm property firstYou then use THISFORM.oForm when you need to reference the parent form.
*-- In the child form THISFORM.oForm.ShowIt() *-- In the parent ShowIt method *-- Tell the control to show itselfHTH
>DO FORM nw_insure WITH thisform, mcallnumber >>on closing the form nw_insure i have to make a field visible on the parent form depending on certain criteria. I wanted to use
>oform.pgfpageframe1.page3.txt_enterinitials.Visible = .T.
>
>but this does not work. On the init of the nw_insure I have >PARAMETERS oform, mcallnum
>
>so i thought that the oform.... would work. any ideas?