Time/Counter in Forms

  • Thread starter Thread starter The Boondock Saint
  • Start date Start date
T

The Boondock Saint

Im wondering is it possible to have a time in a form.. that I can press to
start... and then press to pause etc...

Its for a game of rugby...

Id like it to start at 00:00 and then when i press a button it would start
counting up...

When it gets to Half Time (40mins) it would stop counting...

And then when the 2nd Half starts it would continue counting up to 80 Mins
......

The counter needs to stay in mins... and not have say 1:13.52 for the 73rd
min

Im using Access 2000

Any ideas?
 
Every Form has a Timer Event. Just set the intrerval property to, say, 1
minute. But leave it Disabled. Then, put Start and Stop buttons on the Form.
In the Start button's Click Event, set the timer to Enabled. In the OnTimer
Event, you would store the count of minutes in a Global or Static variable
and increment it each time through. At 40 minutes, disable it again. Look up
the OnTimer Event in Access Help for more ideas/samples.
 
Is that in office 2003? or would it also work in 2000?
 

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

Back
Top