By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,503 Members | 2,730 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,503 IT Pros & Developers. It's quick & easy.

Difference Between Open and Load of Forms

P: 62
This question has been split from another thread (Difference Between Open and Load of Forms) but is valuable in its own right.
-NeoPa.

What is the difference between the OnOpen procedure and the OnLoad procedure?
Regards,
TrevorJ.
Mar 22 '18 #1

✓ answered by twinnyfo

The notebook icon is for Reports.....

Other mods: Some leeway in answering this final question from the gallery?

Think of Forms and Reports as a dishwasher. You have to open it before you load it. Opening a form simply begins the process of generating the form and setting things up, so this can be canceled if necessary (and then the form will close without anything happening. Loading the form brings all the data into the form and fully prepares it for use.

I believe the sequence of events for opening is like this:

Open > Load > Resize > Activate > Current

So, you can create procedures that fire at different times during a form's "birth cycle". Keep in mind that if you need to use data from the Form, it will not be available until the "OnLoad" stage.

Hope this hepps!

Share this Question
Share on Google+
3 Replies


twinnyfo
Expert Mod 2.5K+
P: 3,061
The notebook icon is for Reports.....

Other mods: Some leeway in answering this final question from the gallery?

Think of Forms and Reports as a dishwasher. You have to open it before you load it. Opening a form simply begins the process of generating the form and setting things up, so this can be canceled if necessary (and then the form will close without anything happening. Loading the form brings all the data into the form and fully prepares it for use.

I believe the sequence of events for opening is like this:

Open > Load > Resize > Activate > Current

So, you can create procedures that fire at different times during a form's "birth cycle". Keep in mind that if you need to use data from the Form, it will not be available until the "OnLoad" stage.

Hope this hepps!
Mar 22 '18 #2

P: 62
Got it, thanks again.
Trevor.
Mar 22 '18 #3

NeoPa
Expert Mod 15k+
P: 31,186
How can I assign your post as Best Answer if I give leeway ? ;-)
Mar 22 '18 #4

Post your reply

Sign in to post your reply or Sign up for a free account.