Results 1 to 2 of 2
  1. #1
    neo651 is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2011
    Posts
    110

    Mileage App

    I have an existing database to which I want to add a mileage app. Ideally what I would like is for employees to simply select a Start and Ending Destination (a list populated from a table called tblSites), indicate whether they returned to their starting location afterwards and then have miles automatically filled in from a table. But I want them to be able to manually enter mileage in case their start or end points are not on my table. I don't really have the slightest clue how to accomplish this. Which usually means it requires VBA which I know little to nothing about.

    Thank you.

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    The VBA may only be minimal, but I'm not sure you've given enough info for that to be determined.
    One thing you could do is make it a requirement that all legitimate destinations be in tblSites.
    Is that something you can do? It would certainly help standardize things for you.

    If you MUST allow entries for destinations that are not in tblSites, then it still doesn't necessarily mean anything more than pretty simple VBA Code.
    If your mileage is being entered into tblMileage [for example], you're going to have the Start & End points in there either way . . .
    If the destinations are in tblSites - your mileage & destinations can be taken from there.
    If not - the User will have to enter the destinations & the distance between the two sites.

    Give us some more information so we can help more.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Full App - Mileage/Timesheet Example
    By pkstormy in forum Sample Databases
    Replies: 9
    Last Post: 05-27-2015, 03:37 PM
  2. Database for Mileage Reports
    By luvsmel in forum Database Design
    Replies: 1
    Last Post: 03-21-2012, 10:07 PM

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
  •  
Other Forums: Microsoft Office Forums