How do you call subform subroutines from main form?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

As titled.
I want to be able to call subroutines that reside in a subform from a main
form. Any help appreciated.

Lawrence Mak
 
Lawrence Mak said:
As titled.
I want to be able to call subroutines that reside in a subform from a main
form. Any help appreciated.

Lawrence Mak

Assuming the subform control is called subMySubform (that's the subform
CONTROL, the name of the form itself is irrelevant), and the procedure you
want to call is named MySubProc, then:

Me.subMySubform.Form.MySubProc
 
Thanks!

Brian said:
Assuming the subform control is called subMySubform (that's the subform
CONTROL, the name of the form itself is irrelevant), and the procedure you
want to call is named MySubProc, then:

Me.subMySubform.Form.MySubProc
 
Back
Top