Timer for a Splash Screen

  • Thread starter Thread starter Don
  • Start date Start date
D

Don

I have a database that I want to automatically close after 8 seconds if the
data is not current. I have a splash screen that warns the user when the
data is old with a button to close the application; however, I want the
application to close automatically after 8 seconds if the user doesn't click
the button.

I can't find any help on timers, although I found something along these
lines many years ago. Can someone give me the proper syntax to address this
issue? Thanks.
 
There are two properties in your splash screen form that you use. The first
is the Timer Interval, set this to 8000 and the second is the On Timer event.
Create code in the On Timer event that says DoCmd.Quit
 
Back
Top