How can I execute a function from the Parent module of a subform?
What I want to do is set the 'On_dirty' event of the subform to run a function within the parent.
I tried
Forms!frmStudents.Form_Open (0)
and
Me.Parent.Form_Open(0)
but they both give: Runtime error 2471 - 'The object doesn't contain the Automation object id'
I changed the Form_Open scope to Public but it made no difference.
damo317
What I want to do is set the 'On_dirty' event of the subform to run a function within the parent.
I tried
Forms!frmStudents.Form_Open (0)
and
Me.Parent.Form_Open(0)
but they both give: Runtime error 2471 - 'The object doesn't contain the Automation object id'
I changed the Form_Open scope to Public but it made no difference.
damo317