Countdown Timer that triggers macro at 0

P

pif_marcinko_

I am really just getting started in the world of VB and am having
difficulty acheiving what it is I want to do. I want to create a timer
displayed on a form that counts down from 96 hours. Example
96:00:00:00. When the timer reaches 0 I have a macro called "Send
Critical Report" that I want triggered. After the macro has been
triggered and then completed I would like to have the timer reset for
the next launch of reports in 96 hours.

I am sorry I am really green at this stuff but I have a good handle on
ACCESS, just very limited VB skills. I am trying to learn as much as I
can.

Many advanced thanks!!

Marcinko
Phoenix, AZ
 
P

PC Datasheet

Very bad approach!!!

You will be tieing up a great deal of your computer resources full time to do
this. Access will need to be running full time and the timer function (a hog on
resources) will need to be running full time. You would be much better off
investing a couple of bucks in an alarm clock!!
 
J

Jim/Chris

Why not use Windows Task scheduler tha launches an Access
application with the reports.

Jim
 
R

Rick Brandt

I am really just getting started in the world of VB and am having
difficulty acheiving what it is I want to do. I want to create a timer
displayed on a form that counts down from 96 hours. Example
96:00:00:00. When the timer reaches 0 I have a macro called "Send
Critical Report" that I want triggered. After the macro has been
triggered and then completed I would like to have the timer reset for
the next launch of reports in 96 hours.

I am sorry I am really green at this stuff but I have a good handle on
ACCESS, just very limited VB skills. I am trying to learn as much as I
can.

Many advanced thanks!!

It would be better to use the AutoExec macro which automatically fires when the
app is launched and include a command to close the file afterwards. Then you
can just use the Windows scheduler to open the file at the appropriate times.
 

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

Top