Call Event from Subform

  • Thread starter Thread starter PeterM
  • Start date Start date
P

PeterM

I've figured out how to execute a sub on a subform initiated on the form.

[Forms]![Contacts]![ContactsAddresses].Form.btnSave_Click

I can't for the life of me figure out how to do the opposite. To execute a
sub on the form called from the subform. When I do a search it always talks
about controls, not subroutines.

Can someone please help!
 
On Wed, 10 Feb 2010 17:50:01 -0800, PeterM

Me.Parent.myPublicProcedure
Note that the procedure must be public. Click events are Private by
default, but you can simply change that.

-Tom.
Microsoft Access MVP
 
Back
Top