Question : Refer to Control on Main Form

On a form I have a tab control. Inside the tab control I have a sub form
The tab control is called TabCtlStudentMenu
The tab control has an - On Change - event
If I change something in the sub form, I want the On Change event to run.

I have tried:
forms!frmMain.TabCtlStudentMenu_Change
but get an error

What is the correct syntax?

Answer : Refer to Control on Main Form

You need to make sure that the procedure you are calling is defined as Public not Private.
Random Solutions  
 
programming4us programming4us