+ Reply to Thread
Results 1 to 2 of 2

Bus for only one Driver and vise versa

  1. #1
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Cool Bus for only one Driver and vise versa

    I have 4 Tables
    tblDrivers
    tblBuses
    tblSchools
    tblSchoolTrips

    I have database for a company Where there are 150 Drivers and Buses and 31 Schools.. Some Drivers have only one Trip in a School while Some have two
    Trips in Two different schools with the same Bus they have in the first Trip..
    I want only one Driver must have one Bus.. One Bus should not be Driven by more than one Driver and vise versa..
    No Problem if each Driver has the same bus in Two different Schools..
    I am attaching a Screenshot of my tables.. Please Help!!
    Attached Images Attached Images
    Last edited by alipezu; 12-14-2015 at 05:30 AM.

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,192

    Re: Bus for only one Driver and vise versa

    Then you will run a query to append a record to the tTrips table:

    [busID],[DriverID],[SchoolID],[Date]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1