So I have learned that a parent form does not inherently know or respond to any subforms events, excluding OnEnter and OnExit.
But if I have code in the subform specific to its events, say DblClick on a datasheet subform with a message box "Hi!", should it not fire even if the double click occurs when the parent form is loaded.
I have been able to code and see the event when working directly on the subform (ie, not loaded via parent form), but when it is loaded in the parent form double clicking in the control elicits no response.
Am I missing something?
Code:
'In Subform Code Module. This works if only the subform is loaded.
Private Sub Form_DblClick(Cancel As Integer)
MsgBox "This was a dbl click"
End Sub