Free Lessons
Fast Tips
Topic Index
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
Home > TechHelp > Directory > Access > Track Log On < Sliders | DMin >
Track Log On
By Richard Rost   Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   2 years ago

Tracking User Logon & Logoff from a Database

 S  M  L  XL  FS  |  Slo  Reg  Fast  2x  |  Bookmark Join Now

In this video, I'll show you how to track each user's log on and log off times in your Microsoft Access database. We'll determine the username and computer name from the Windows system environment variables, log the user in when they start the database, and log them out when the close it. 

Jason from Fort Payne, Alabama (a Platinum Member) asks: I need an easy way to track what time each user starts their database every morning, and what time they leave to go home at night. We've got a timeclock, but nobody uses it. I figure at least this way I can tell when they start working on their computers. Everyone needs the customer database. LOL


Members will learn how to add up all of the time that each user spends in the database. We'll generate a query showing the total number of minutes spent logged in each day. We'll also get rid of the queries from the last lesson and replace them with SQL statements. 

Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the database template from class plus get access to the Code Vault. If you signed up on YouTube you have to register on my YouTube Find User page so I can set up your account here on my web site. If you're not a member, Join Today!



  • Environ("COMPUTERNAME")
  • Environ("USERNAME")

Learn More

FREE Access Beginner Level 1
Access Level 2 for $1.00

Free Templates

TechHelp Free Templates
Blank Template
Contact Management
Order Entry & Invoicing
More Access Templates


Mailing List - Get emails when new videos released
Consulting - Need help with your database
Tip Jar - Your tips are graciously accepted


Please feel free to post your questions or comments below or post them in the Forums.


microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, append query, sql, insert into, username, logon, log on, logoff, log off, logging user activity, environment variable, environ, log in, log out, login, logout, log user activity, event tracking, audit users, time tracking, computer name, computername, user name, username


Comments for Track Log On
Age Subject From
2 monthsUser Logon and Logoff on ExitDebra Triolo
11 monthsUser LogonJohn Davy
2 yearsTrack Logon and LogoffNorman Houghton


Start a NEW Conversation
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
Subscribe to Track Log On
Get notifications when this page is updated

Check out these other pages that may be of interest to you:

3/24/2023Percent Bug
3/23/2023Replication ID
3/22/2023Disable AutoSave
3/21/2023Database Launcher
3/20/2023ChatGPT VBA Code
3/17/2023Quick Queries #8
3/16/2023Parent Record
3/15/2023Available Credit

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

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Copyright 2023 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 3/25/2023 10:25:42 AM.
Keywords: TechHelp Access username, logon, log on, logoff, log off, logging user activity, environment variable, environ, log in, log out, login, logout, log user activity, event tracking, audit users, time tracking, computer name, username, user name, computername  PermaLink  Track Log On in Microsoft Access