O
Omar
First, thanks for reading this note, I appreciate it.
Im trying to put together a macro using visual basic under
the event procedure that allows the selection of Audit or
Surv under a combo box located in the main form that shift
focus on one of two subforms using the tab control tool.
The name of the tabs are Audit and Surveillance while the
name in the combo box are audit and Surv, respectively. I
get a "Sub or Function Not Defined" error. Can someone
help please, thank you.
Private Sub Activity_Type_AfterUpdate()
Condition: Activity_Type = Audit
Action: GoToControl
ControlName: Audit
Condition: Activity_Type = Surv
Action: GoToControl
ControlName: Surveillance
Im trying to put together a macro using visual basic under
the event procedure that allows the selection of Audit or
Surv under a combo box located in the main form that shift
focus on one of two subforms using the tab control tool.
The name of the tabs are Audit and Surveillance while the
name in the combo box are audit and Surv, respectively. I
get a "Sub or Function Not Defined" error. Can someone
help please, thank you.
Private Sub Activity_Type_AfterUpdate()
Condition: Activity_Type = Audit
Action: GoToControl
ControlName: Audit
Condition: Activity_Type = Surv
Action: GoToControl
ControlName: Surveillance