Want Welcome Page form to close

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

Guest

Hello all: I copied and pasted code from this site last week to design a
Welcome Page for my database when it opens. Now I need to know how to get it
to close and open the database window.

Can anyone help. I am very new at this Access stuff.
Thanks.
Mary-Ann
 
Mary-Ann said:
Hello all: I copied and pasted code from this site last week to design a
Welcome Page for my database when it opens. Now I need to know how to get it
to close and open the database window.

Can anyone help. I am very new at this Access stuff.
Thanks.
Mary-Ann
You can put a button or a label on it with a Macro attached. The Macro
would be close, form, name of form.
DS
 
Mary-Ann,
Your form has 2 properties that you need to utilize to close your Welcome
Screen. They are the On Timer property and the Timer Interval property. In
the Timer event of the form add the following code:

DoCmd.Close

Then, set the Timer Interval to the appropriate amount of time you want to
leave the form open. 1000 = 1 second.
 

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

Back
Top