473,400 Members | 2,145 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

Difference Between Open and Load of Forms

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!

3 4604
twinnyfo
3,653 Expert Mod 2GB
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
TrevorJ
62
Got it, thanks again.
Trevor.
Mar 22 '18 #3
NeoPa
32,556 Expert Mod 16PB
How can I assign your post as Best Answer if I give leeway ? ;-)
Mar 22 '18 #4

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

Similar topics

3
by: Hp | last post by:
Hello, Is it possible to have more than one record from the same table open on the screen using forms? If you have an contact list for example and want to check a phone number whilst editing an...
2
by: Fabio | last post by:
How can I pre load forms??? When I will open a big application, the objects are displayed one by one in the screen. how can I do to load all objects and display it on the same time. Thanks in...
2
by: Volker Jobst | last post by:
Hi, I'm writing an application which should be able to close all open forms except the main one. Thisfore I'm collecting all forms in an arraylist before I show them, but I don't want to do that...
5
by: Steve Lloyd | last post by:
Hi, I have a multi form windows application but when i open new forms they do not load up "crisply", they open bit by bit as the items are drawn. What is the best way to open the form so that...
3
by: nbohana | last post by:
I would like leave some windows open while go to others. Is there a way to do this. There must be some Parameter or code that I need to use. Please help!! -- Norm Bohana
1
lwwhite
by: lwwhite | last post by:
When a user clicks OK on form "SelectDefaults," I want to open form "Welcome" if the results of query "qry_todo_overdue" = 0 or form "OverdueToDo" if the results >= 1. First, I assume that I need to...
1
by: Freedolen | last post by:
Hi, I have checked with some sample data and found inserting of data using 'insert command' takes more time than using 'load data' command to load data from another file. What is the process...
4
D Giles
by: D Giles | last post by:
Have found many solutions on this forum to get to this point so finally registered. I have a form which should load 17 forms. Private Sub Form_Load() On Error GoTo Err_Form_Load DoCmd.Minimize...
6
by: mfaisalwarraich | last post by:
Hi Everyone, I am new to javascript. I want to load 3 forms which depends upon the selection of a value from Combo Box. For example i have a combo box on a page and it has three values Form1,...
1
by: tina1234 | last post by:
Hi there, I need a help regarding opening php forms.Is it possible to open a php form using only links rather opening it separately by just clicking? for example, say i have 3 forms.. 1> Front...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.