TSIsolutions
MIS
Good Afternoon,
I presently have FormA containing a SubFormA, a FormB containing a SubformB and a FormC containing a SubformC. Users enter information in the Subforms and sometimes a FormZ needs to be opened in Dialog Mode. Once information is entered in the FormZ, certain information are sent back to the Subform fields.
First, using VBA I'd like to use the OpenArgs option in the Docmd.OpenForm FormZ within the Subform to send the name of the Form and Subform (ex: Me.FormParent.Name and Me.Form.Name) as string.
Secondly, the information sent back to the subform should use the OpenArgs string to know which subform to send the information to.
I'm having a hard time with the proper syntax and how to convert the "form.subform" to string type and back to form type.
Thanks,
Lawrence.
I presently have FormA containing a SubFormA, a FormB containing a SubformB and a FormC containing a SubformC. Users enter information in the Subforms and sometimes a FormZ needs to be opened in Dialog Mode. Once information is entered in the FormZ, certain information are sent back to the Subform fields.
First, using VBA I'd like to use the OpenArgs option in the Docmd.OpenForm FormZ within the Subform to send the name of the Form and Subform (ex: Me.FormParent.Name and Me.Form.Name) as string.
Secondly, the information sent back to the subform should use the OpenArgs string to know which subform to send the information to.
I'm having a hard time with the proper syntax and how to convert the "form.subform" to string type and back to form type.
Thanks,
Lawrence.