Call a Public Sub-routine on a Sub-sub-form

  • Thread starter Thread starter Renraf
  • Start date Start date
R

Renraf

I am using the custom navigation buttons from www.lebans.com, and he includes
a call to a public sub in a subform, using this syntax:

Call Me.frmNavButtons.Form.EnableDisableButtons

I would like to make the same call from that form's parent form, so I am
trying to do something akin to this:

Call Me![Primary Tasks Subform].Form!frmNavButtons.Form.EnableDisableButtons

but in the different versions of this I have tried, I've gotten a number of
different errors. For this one, I get a simple "syntax error."

How do I do this?
 
A better practice is to put public functions in a standard module. They can
then be called from anywhere in the application without special syntax.
 
Back
Top