View Full Version : Timer


kirsty
02-11-2000, 02:42 AM
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
02-11-2000, 06:29 AM
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).]