Main form with 3 subforms, one on each page of a 3-page Tab Control.
Each subform has a gotfocus event, but that event only fires for SubForm1
when the main form (and its 3 subforms) opens.
Switching to the other pages and selecting a field on a subform does not
fire its GotFocus event.
How do you ensure that a subform's GotFocus event fires?
> Main form with 3 subforms, one on each page of a 3-page Tab Control.
>
[quoted text clipped - 5 lines]
>
> How do you ensure that a subform's GotFocus event fires?
Subform controls don't have a GotFocus event, and I don't think the
GotFocus event of a form ever fires unless there is no control on the
form capable of receiving the focus (though I could be wrong about
that). I suspect that what you want to be using is the Enter events of
the subform controls.

Signature
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)
Jay - 09 Feb 2007 20:57 GMT
Dirk -
Thanks for the response and the tip. Based on your feedback, I'm pursuing a
modified track. I'll let you know if I discover any difinitive approaches.
Thanks again,

Signature
Jay
> > Main form with 3 subforms, one on each page of a 3-page Tab Control.
> >
[quoted text clipped - 11 lines]
> that). I suspect that what you want to be using is the Enter events of
> the subform controls.