Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call Main Form Function / Procedure from SubForm

Status
Not open for further replies.

dpimental

Programmer
Jul 23, 2002
535
US
All, I have a main form with a few functions / procdures. I want to call a function on the main form, from the subform_afterupdate event.

How do you call a function or sub procedure in a main form from a subform?

David Pimental
(US, Oh)
 
You can refer to the form, then the function, as long as it is not private:

Call Forms.frmForm.TheFunction
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top