Timer

mlamont

Registered User.
Local time
Today, 17:43
Joined
Jun 25, 2001
Messages
45
Could somebody tell me if I could set up a 24 hour timer to my program, what I would like to do is to have a user click a checkbox. Once the checkbox is checked a 24 hour timer starts, at the end of the 24 hours I would like a Message box to pop up.

Is this possible?

Cheers,

Mike
 
It is possible, but has implications.

You could, indeed, try to set a 24-hour timer. But that implies that the form remains open for 24 hours continuosly.

You could look at other recent threads regarding timers to see how folks make events happen at certain times.

You could create a table that contains records of times at which someone clicked a button, then have a startup form that doesn't close (just minimize and make not visible) that has a timer that looks for records once per minute and pops up a timer when it finds something that matches.

It is up to you as to what happens to an overdue timer or one for which the pop-up has fired off and has been responded to.
 
Thank you very much, looks like I have a lot of options. I am going to start reading other time related threads.

Cheers,

Mike
 

Users who are viewing this thread

Back
Top Bottom