Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Load events

Status
Not open for further replies.

08211987

Programmer
Apr 20, 2012
187
0
0
US
I've been reading some posts about the sequence of events when a form is loaded, particularly when they have subforms and found this:
SubForm Open - SubForm Load - SubForm Current - MainForm Open - MainForm Load - MainForm Activate - MainForm Current

I have a form and subform and when I either double click on the mainform in the list of Access Objects or Open Access which opens the main form I need to click something before it performs the logic in the Private Sub Form_Load() and if that click was on a button that has a event I need to click it again before that event runs. In what event would I put the logic that I am putting in my Load event so that the form is ready immediately perform the next step?

Appreciate your help!
 
I found that using the On Current Event did the trick.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top