Results 1 to 3 of 3
  1. #1
    CptZ is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2017
    Posts
    1

    Travel days in a 365 day period

    I am in a military unit that travels about 10 days a month. I am trying to create a form that you can enter multiple date ranges and then quary in a given 365 day period how many days were spent traveling. Not sure if I need to use a formula or VB. Any suggestions pointing me in the right direction would be great. Thank you.

  2. #2
    shah1419 is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jan 2013
    Posts
    30

    re: Travel days in a 365 day period

    please find the attached database example for your review.
    Attached Files Attached Files

  3. #3
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,742
    CptZ_travels.zip
    Here's a start that addresses your post directly.
    It includes a table for trips, a table for personnel and a linking table between them in a many-to-many fashion.
    The personnel info will allow you to create reports as to who took which trips if that's necessary.
    Four forms allow data input to the tables, plus a Main form.
    A totals query adds up the trip days for trips between two dates you specify. The query is run from a button on the trip assign form.
    Last edited by davegri; 11-13-2017 at 09:10 PM. Reason: clarif

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

Similar Threads

  1. Replies: 1
    Last Post: 03-27-2014, 06:43 PM
  2. The period og days between two dates
    By roar58 in forum Queries
    Replies: 5
    Last Post: 10-06-2013, 11:58 AM
  3. To find Month and Days in given date period
    By waqas in forum Programming
    Replies: 1
    Last Post: 02-12-2013, 02:50 PM
  4. Replies: 4
    Last Post: 01-25-2013, 05:20 AM
  5. Travel days.
    By emccalment in forum Access
    Replies: 1
    Last Post: 01-06-2010, 05:39 PM

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