Executing procedure in a sub form

  • Thread starter Thread starter JC Benner
  • Start date Start date
J

JC Benner

I want to execute a public procedure in a subform from the
main form. I assume this can be done but I cannot find an
example in any of my Access books.
 
JC said:
I want to execute a public procedure in a subform from the
main form. I assume this can be done but I cannot find an
example in any of my Access books.


Public procedures in a form (or class or report) module are
methods of the object. This means you can refer to your
subform procedure using this syntax:

Me.subformcontrol.Form.procedurename

with any argments specified in the usual way.
 
Back
Top