Page 1 of 2 12 LastLast
Results 1 to 15 of 17

countdown Timer

  1. #1
    yigitki is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    12

    countdown Timer

    i have couple question about countdown timer



    1 question is can i add more than 1 countdown timer in the same form and run seperately.
    2 question is can anybody give me a codes for countdown timer and step by step options as well preety much what i want to do is i want to be able to type the minute in the box and when i click start it will start counting down after that when the time is reach 0 i want to be able to count negative numbers until i stop it. thank you

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    48,273
    Never used but my guess is that form can have only one Timer event. See http://msdn.microsoft.com/en-us/libr...ffice.11).aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    You can use the same timer for all of this. Here's a sample.

    Sample removed since it doesn't act like it was requested. I ran out of time to test and posted before a meeting.
    Hopefully Toyman's example does what you need.
    Last edited by boblarson; 10-26-2011 at 04:39 PM. Reason: remove sample since it was not working completely properly

  4. #4
    Toyman is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    233
    Quote Originally Posted by yigitki View Post
    i have couple question about countdown timer

    1 question is can i add more than 1 countdown timer in the same form and run seperately.
    2 question is can anybody give me a codes for countdown timer and step by step options as well preety much what i want to do is i want to be able to type the minute in the box and when i click start it will start counting down after that when the time is reach 0 i want to be able to count negative numbers until i stop it. thank you
    See if this is what you need

  5. #5
    yigitki is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    12

    thank you!

    Hey guys thank you so much for post. Toyman that database almost what i want. i am going to attach my database and i will request couple more things. i work for U.S. Army and i need this project for that purpose. if you can help me i really appreciated. Thank you!

  6. #6
    Toyman is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    233
    Quote Originally Posted by yigitki View Post
    Hey guys thank you so much for post. Toyman that database almost what i want. i am going to attach my database and i will request couple more things. i work for U.S. Army and i need this project for that purpose. if you can help me i really appreciated. Thank you!
    What help do you need?

  7. #7
    yigitki is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    12
    how can i adjust that after certain time i need the color change lets say i set the timer for 30min. and when 5 min left to count down i want to color change to red and gives me warning sound. and can i set those timers to my access database each form 2 or more. last thing your example database does not count negative it just shows up and then goes back to 59 seconds.

  8. #8
    yigitki is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    12
    i also try to enter your code to my database but i couldnt be successful i can only insert calss or module
    i am sorry for that easy questions.

  9. #9
    yigitki is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    12

    thanks again

    this is the final adjusted version if you can add this the timer and if you can show me how to actually insert codes and everything i will be grateful

  10. #10
    yigitki is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    12
    here is the final

  11. #11
    Toyman is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    233
    Quote Originally Posted by yigitki View Post
    this is the final adjusted version if you can add this the timer and if you can show me how to actually insert codes and everything i will be grateful
    Ok, I will take a look at it tomorrow morning

  12. #12
    Toyman is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    233
    Ok, see if this works. I only put the codes in the "CCP FORM" form. If the sound don't work, change the path of the sound wave in the code to a sound wave path that works.
    Last edited by Toyman; 11-10-2011 at 07:33 PM.

  13. #13
    yigitki is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    12
    this is awesome. You are the best in access, i have to say that. only think that when it goes 0 it does not count like -00:01, -00:02 i wanted to see that soldier stay on the line how many negative minutes i want it to be infinite count after 0. if you can do that too this is awesome. i really say thank you.!!

  14. #14
    Toyman is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    233
    Quote Originally Posted by yigitki View Post
    this is awesome. You are the best in access, i have to say that. only think that when it goes 0 it does not count like -00:01, -00:02 i wanted to see that soldier stay on the line how many negative minutes i want it to be infinite count after 0. if you can do that too this is awesome. i really say thank you.!!
    Ok, try this one. It was not going neg because of the input mask. To adhere to the input mask, if the number turns negative, the color of the number will turn green.

  15. #15
    yigitki is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    12
    this is perfect. i do understand now. seconds counts down and minute goes up. this is perfect can you teach me how to do other ones or can you place for other ones as well.

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Simple 30 second countdown timer on Access 2003 form
    By Mediaman09 in forum Programming
    Replies: 2
    Last Post: 09-21-2011, 09:55 PM
  2. Timer Event - Why does this happen
    By Rhino373 in forum Programming
    Replies: 2
    Last Post: 05-26-2011, 07:18 PM
  3. Timer object
    By joki in forum Programming
    Replies: 7
    Last Post: 03-17-2011, 08:50 AM
  4. Closing the application with some timer
    By reachvali in forum Programming
    Replies: 1
    Last Post: 05-18-2010, 11:28 PM
  5. Pause / Wait / Countdown / Timer
    By DevGreg in forum Programming
    Replies: 0
    Last Post: 11-17-2009, 04:57 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Tech Forums: Microsoft Office Forums