OnEnter is triggered before load?

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?
 
M

markmarko

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

btw - is there a resource that describes the order of events?
 
Joined
Apr 26, 2006
Messages
3
Reaction score
0
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top