Solved

Firing Order of Events

Posted on 2004-10-13
6
407 Views
Last Modified: 2008-02-01
Which fires first, Form_Open, or Form_Load?

Where is a web resource that I can check this?
0
Comment
Question by:Moother
6 Comments
 
LVL 3

Assisted Solution

by:StuartSanders
StuartSanders earned 180 total points
ID: 12296040
open
0
 
LVL 34

Assisted Solution

by:flavo
flavo earned 50 total points
ID: 12296042
open the load

try this, create a new form and add this code

Option Compare Database

Private Sub Form_Load()
MsgBox "load"
End Sub

Private Sub Form_Open(Cancel As Integer)
MsgBox "open"
End Sub


dave
0
 
LVL 34

Expert Comment

by:flavo
ID: 12296046
>>open the load

open then load
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 9

Assisted Solution

by:Bat17
Bat17 earned 20 total points
ID: 12296062
Not from online, but from Help

"When you first open a form, the following events occur in this order:

Open > Load > Resize > Activate > Current

If you're trying to decide whether to use the Open or Load event for your macro or event procedure, one significant difference is that the Open event can be canceled, but the Load event can't. For example, if you're dynamically building a record source for a form in an event procedure for the form's Open event, you can cancel opening the form if there are no records to display."

Peter
0
 
LVL 3

Accepted Solution

by:
StuartSanders earned 180 total points
ID: 12296087
OK found what I was looking for.

1. In Access, hit F1.
2. Type in "open event"
3. Click Search
4. There should be an entry called "Open Event".  Select it
5. About half way down the page it gives the event order

Stuart
0
 
LVL 3

Author Comment

by:Moother
ID: 12296235
Thanks Chasps!!!
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question