Hi All
Access2002/2007
WinXpPro Sp2
I've an unlinked subForm that I make reference to in the Form_Open event of my mainForm. When the table for the mainForm is empty (e.g. vanilla system) the reference fails because the subForm is not yet loaded. I need therefore to 'force' it open.
I thought this would do the trick in the mainForm Form_Open event:
I was wrong....
.... anyone know if/how this can be done plse?
Thanks
Access2002/2007
WinXpPro Sp2
I've an unlinked subForm that I make reference to in the Form_Open event of my mainForm. When the table for the mainForm is empty (e.g. vanilla system) the reference fails because the subForm is not yet loaded. I need therefore to 'force' it open.
I thought this would do the trick in the mainForm Form_Open event:
Code:
If My_Form_Is_Loaded("My_subForm") = False Then
Me.My_subForm.SourceObject = "My_subForm_Form"
Me.My_subForm.Form.SetFocus
End If
I was wrong....
Thanks