Creating a 'Loading' Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'd like to create a form that pops up when my database is first opened that
shows that the program is loading, kind of like a splash page.

I've modified the startup to open my Loading form. and have tried to put the
code to open the Main form in the Form_Open action but it seems that both
forms then open at the same time. Is there a place that I can put this code
to get the effect I'm looking for?

Thanks in Advance,
Pip'n
 
If there's not a lot of stuff going on prior to displaying the Main
Form, YES both forms will appear to open on top of each other.
Typically, the idea is to have the LOADING form open first, prior to the
execution of any startup queries or code. Finally, once the startup
queries/code are completed the LOADING form closes and the MAIN form is
opened.
 
Yes, I understand this and this is the effect that i'm looking for. The users
of my code are a bit impatient and I just want this loading form to show
while my main form is loading (about 8 seconds). I just need to know where
in my loading form I should put the code to open the main form. Currently i
have the user click the Loading form to activate the code to open the main
form but i'd rather not have to do that.
 
Are you using an AutoExec macro? If you are use that to open the LOADING
form, then try opening the MAIN form using DoCmd.OpenForm in the LOADING
form's OPEN event. The DoCmd.OpenForm would be followed by
DoCmd.CloseForm in the same SUB.
 
Back
Top