Results 1 to 2 of 2
  1. #1
    grantty is offline Novice
    Windows 8 Access 2013
    Join Date
    Mar 2015
    Posts
    1

    Help with Airport Transfer Database

    Hi All,



    This is my first time using Access and i'm trying to make a airport transfer database for a family member. I have 3 tables Journeys,Drivers and Customers.All relationships are assigned and i've created forms for outbound and inbound journeys (all data is on one Journey table however). The problem I am having is that because outbound and inbound are all in the Journey table, once you assign a driver to the journey the driver is assigned to both outbound and inbound journeys (this however isnt always the case for the company). To fix it my best guess is that I will need to split the Journeys table into outbound and inbound tables, however I don't want 2 separate journeyIDs (primary key). Is there a way of connecting the two tables so that if I create an outbound journey it will have ID 1 then if it has a inbound journey this will have ID 2 (not 1 again becuase its the first inbound). Then the next booking made (on the outbound journey) will automatically have ID 3 (and not 2 because its the second outbound journey).

    I hope i've explained it well enough and if you think im doing it completely the wrong way all advice would great thanks.

  2. #2
    chaddresnick is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Dec 2014
    Location
    Dayton, Ohio
    Posts
    30
    If you want consecutive ID numbers for Journeys, you need them in one table. With that said, why can't ID 1 be outbound journey and then ID 2 be inbound. Just create a field so you know if a journey is outbound or inbound. This also would help with one-way travel.

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

Similar Threads

  1. Replies: 1
    Last Post: 08-26-2014, 02:29 PM
  2. Airport database
    By JoeyB in forum Database Design
    Replies: 5
    Last Post: 11-24-2013, 04:54 PM
  3. Help with making airport booking system
    By matthewjones108 in forum Access
    Replies: 3
    Last Post: 03-13-2012, 08:10 AM
  4. Data transfer to restructured backend database
    By RANCHLAW56 in forum Access
    Replies: 1
    Last Post: 09-06-2011, 01:47 PM
  5. Transfer Database
    By AccessLes in forum Programming
    Replies: 7
    Last Post: 06-19-2010, 10:06 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