Calling the load event of my subform

How can I manually "call" the load event of my subform from my main form?

snyperjAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
SeanStricklandConnect With a Mentor Commented:
In the form itself, make sure Form_Load() is set to Public.
Public Sub Form_Load()
'... your code here...
End Sub


In your separate module... call using this:
Forms![Main Form Name Here]![subform control name].Form.Form_Load


I believe that should work.
Sean
0
 
snyperjAuthor Commented:
It was the first ".Form" in  "Form.Form_Load" I was missing... Thanks!
0
All Courses

From novice to tech pro — start learning today.