Timer (1 Viewer)

kirsty

Registered User.
Local time
Today, 12:31
Joined
Nov 5, 1999
Messages
19
Hi,
does anyone know how to create a simple timer event that displays a start up form for say 5 seconds and then opens another form?

Thanks a lot!

Kirsty.
 

R. Hicks

AWF VIP
Local time
Today, 06:31
Joined
Dec 23, 1999
Messages
619
Build your Startup form and have it start automatically. Then in the startup form properties there is a timer event, set the Timer Interval to 5000 (5 seconds), in the On Timer event of the startup form write the code to open the next form and close the startup form. Below is an example:

Private Sub Form_Timer()
DoCmd.OpenForm "frmYourNextForm" 'This open next form
DoCmd.Close acForm, "frmYourStartForm" 'This closes startup form
End Sub

HTH
RDH

[This message has been edited by R. Hicks (edited 02-11-2000).]
 

Users who are viewing this thread

Top Bottom