Timer for a Splash Screen

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.
 
R

RonaldoOneNil

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
 

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

Similar Threads

disable the timing event 1
Display Splash Screen before User Login 5
Understanding Timer Pause Code 6
Access splash Screen 2
Splash screen problem 4
User() timer() 3
Winform Splash Screen 4
Splash screen 1

Top