How do I open another form after a splash screen?

J

Jason

Hello,

I have a couple forms and one of those forms is a splash screen that I have
up for 3 seconds, after thias splash screen would like another form to
come up. How do I do it?

What code would I put in the form timer event?

Also if I have a form open and a button on that form how would I program
that button to open another form?
just docmd.openform("Form_Name") or do I need to do something else?

thanks
 
F

fredg

Hello,

I have a couple forms and one of those forms is a splash screen that I have
up for 3 seconds, after thias splash screen would like another form to
come up. How do I do it?

What code would I put in the form timer event?

Also if I have a form open and a button on that form how would I program
that button to open another form?
just docmd.openform("Form_Name") or do I need to do something else?

thanks

In the Splash form's Timer event:

DoCmd.OpenForm "FormName" ' Open the new form
DoCmd.Close acForm, Me.Name ' Then close the splash form
 
S

SteveS

Jason said:
Hello,

Also if I have a form open and a button on that form how would I program
that button to open another form?
just docmd.openform("Form_Name") or do I need to do something else?

thanks

Almost right; the basic (no pun intended) syntax is:

Docmd.OpenForm "Form_Name"

HTH

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top