Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2006
    Posts
    25

    Unanswered: Countdown Timer-Access 97

    Does anybody have an example of a countdown timer? I am trying to build a timer that counts down from 10 minutes and adds 2 minutes of increments with a command click. I have a stopwatch built but I have no idea how to reverse it.

    Thanks.
    Last edited by cervantes008; 07-25-06 at 14:26. Reason: Forgot to state my version

  2. #2
    Join Date
    Sep 2003
    Location
    MI
    Posts
    3,713
    How granular is it to be? H:MMS? Military or regular?

    Simple basics:

    Make a form with 5 labels 1 for each time increment and 2 for the colons. 3 integers - one for each time increment. 1 timer set at 1000 (1000 millisecs = 1 sec) enabled.

    Logic in timer event:

    Sec=Sec+1
    if SEC > 59 then
    sec=0
    minute=minute+1
    if minute>59 then
    minute=0
    hour=hour+1
    minlbl.caption=format(minute,"00")
    ' Handle the hours depending on mil or reg time ....
    endif
    endif
    seclbl.caption=format(sec,"00")
    Back to Access ... ADO is not the way to go for speed ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •