OnEnter is triggered before load?

  • Thread starter Thread starter markmarko
  • Start date Start date
M

markmarko

Access 2007:
So I have a subform with a control that has an OnEnter event. I'm finding
that the event is triggered when the form is open, even before the OnLoad
event of the form is triggered.

Is this right? Sounds a little silly, so I tested with other controls in
subforms, and they too trigger before the forms OnLoad event. It's basically
rendering the OnEnter event useless, since it's triggering that code at the
wrong time.

Any thoughts?
 
Hmmm. Well that's surprising to me, so thank you for the explanation.

btw - is there a resource that describes the order of events?
 
Re: order of events, I always refer to Chapter 1 of Access 2002 Desktop Developer's Handbook. (I hope they write an Access 2007 edition.) I imagine there's a good online resource somewhere.
 
Back
Top