Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Schema Set up Review
Chris Tyson 
      
15 months ago
I would like some input/advice as to the proper schema to set up vehicle mileage tracking.  I need to track the total mileage each of our company vehicles are driven each year.  All I need is year end mileage and will subtract previous years mileage from current year to get the mileage driven in current year.  Most vehicles usually have only one driver, but we do play musical vehicles every so often.  When I first started to map this our I started with the top four tables.  Then I created the "MileageJunctionT" and now I don't think I need the top two on the right.  I also need to be able to calculate any mileage used for personal use (using a percentage for that).
Chris Tyson OP  @Reply  
      
15 months ago

Sami Shamma  @Reply  
             
15 months ago
You need to remove The EmployeeID from the VehicleT. Also Remove the VehicleID from the EmployeeT.

You do not need the two tables at the right
Chris Tyson OP  @Reply  
      
15 months ago
Thank you!!!
Thomas Gonder  @Reply  
      
15 months ago
@Chris I'm just curious, what is your source data for the personal use on each vehicle? Or are you just estimating based on a percentage. If one employee commutes 5 miles and another 30 in the same vehicle, how will you determine the personal use? Can employees use a vehicle for personal use other than commuting?
Chris Tyson OP  @Reply  
      
15 months ago
@Thomas the personal use is mainly for the Owners of the company.  The other employees are not allowed to use company vehicles for personal use.  The percentage rate is just an educated guess, no real hard data points.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer 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/9/2026 1:07:53 AM. PLT: 0s