Computer Learning Zone CLZ Access Excel Word Windows

There are huge advertising budgets only when there's no difference between the products. If the products really were different, people would buy the one that's better... Advertising teaches people to be stupid.

-Carl Sagan
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Visitor Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Displaying lap Times
Kevin Blazek 

2 years ago
Call me crazy nut I am making a database from a racing video game in an attempt to learn access.  i have watched many of your videos.  I would like to display lap times in hours:minutes:seconds and milliseconds.  So, for example 0:20:33.345.  Please Help.  Thank you.
Sami Shamma  @Reply  
             
2 years ago
Use this format
hh:nn:ss.000
Kevin Yip  @Reply  
     
2 years ago
Access won't be fast enough to show every millisecond.  Even if you set a form's timer interval to 1 ms (the minimum), Access will take more than 1ms to run the event, thus unable to count every ms.  You need to do this kind of thing in a different, more capable coding environment, such as javascript.  Google "clock with ms" to see websites that can show this.  And the code is quite simple too.  The method is the same: set timer interval to 1ms and show the time.  Except that javascript is fast enough to do it, and Access isn't.
Thomas Gonder  @Reply  
      
2 years ago
This from Microsoft:
The resolution of the GetTickCount64 function is limited to the resolution of the system timer, which is typically in the range of 10 milliseconds to 16 milliseconds. The resolution of the GetTickCount64 function is not affected by adjustments made by the GetSystemTimeAdjustment function.

If you need a higher resolution timer, use a multimedia timer or a high-resolution timer.

Seach for "GetTickCount64 function" in Google and the web page has links to the more resolution solutions.
Richard Rost  @Reply  
          
2 years ago
Might make an interesting video. Hmmm....
Thomas Gonder  @Reply  
      
2 years ago

Thomas Gonder  @Reply  
      
2 years ago
@ Kevin, Because you said please, there's the example above.
If you want the code for the two procedures (fTimer & fDispElapse) then you'll have to ask with a "pretty please" and Richard will have to add me to the Access Developer Network>Other Access Consultants page.

The fTimer function has ten timers and up to ten laps per timer. The procedures are a little complicated, but well documented.
Thomas Gonder  @Reply  
      
2 years ago

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Visitor Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/2/2026 12:20:56 AM. PLT: 0s