Run Code in Sub form from main form

TimTDP

Registered User.
Local time
Today, 19:51
Joined
Oct 24, 2008
Messages
213
I have a main form with a sub form
Inside the sub form is a tab control

When the user clicks a command button on the main form I want the code in the tab controls On change event to run.

How do I do this?

If I enter:
Me.frmStudentCurriculumJunction.Form!TabCtlCurriculumMenu.Enabled = True
the syntax is correct

But if I enter:
Me.frmStudentCurriculumJunction.Form!TabCtlCurriculumMenu_Change

I get an error

I have made the OnChange event public
 

Users who are viewing this thread

Back
Top Bottom