call a procedure in parent from subform

H

HB

I wrote a procedure in my parent from which i need to call from the subform.
How do I do this? (Real newbie coder here, i don't even know how I would call
the procedure in the parent form itself.....trying to dig through help for
answers too.)

tia

HB
 
P

PC Datasheet

The procedure in the subform must be public.

Call Forms!MyForm!NameOfSubformControl.Form.NameOfProcedure()
 
P

PC Datasheet

Sorry, my mistake! I misread this post thinking you wanted to run a sub in
the subform from main form.

Make a note of this though because it can be done.
 

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