Running a procedure on a sub-form

J

JimP

I have a procedure on a sub-form that calls a procedure in a class module.
How do I run the procedure on the sub-form from an event on the main form?
 
M

Marshall Barton

JimP said:
I have a procedure on a sub-form that calls a procedure in a class module.
How do I run the procedure on the sub-form from an event on the main form?


The public procedures in a form/report module are methods of
the form/report's class module so you call it using:

Me.subformcontrol.Form.procedure args
 

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