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

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?
 
K

Klatuu

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top