My database deals with transporting people in Vans between cities. The vans are assigned a van #.
tabels are
tbl_trips: (passenger trip) with fields Trip_Date, Van# inbound, Van# outbound, Number of passengers, Passneger name, and others
tbl_Van_Capacities with fields Van #, Num_passenger_seats
I am trying to make a form that will show, by date, the van # and available seats inbound and available seats out bound.
Each trip has a least one passenger but sometimes more as the passenger may have an aid traveling with them.
I have made queries to sum the total passengers per vehicle per date inbound and and other for the return (outbound). I can even calculate the available seats!
The problem is to join them by date when there may both in and out bound loads, only inbound or only outbound loads.
My problem is that there is no join paramater that allows for missing dates on EITHER side.
I tried a union query but I end up with the same date and vehicle on separate lines ( one for inbound and one for outbound)
I'll try almost any suggestion. Thanks
tabels are
tbl_trips: (passenger trip) with fields Trip_Date, Van# inbound, Van# outbound, Number of passengers, Passneger name, and others
tbl_Van_Capacities with fields Van #, Num_passenger_seats
I am trying to make a form that will show, by date, the van # and available seats inbound and available seats out bound.
Each trip has a least one passenger but sometimes more as the passenger may have an aid traveling with them.
I have made queries to sum the total passengers per vehicle per date inbound and and other for the return (outbound). I can even calculate the available seats!
The problem is to join them by date when there may both in and out bound loads, only inbound or only outbound loads.
My problem is that there is no join paramater that allows for missing dates on EITHER side.
I tried a union query but I end up with the same date and vehicle on separate lines ( one for inbound and one for outbound)
I'll try almost any suggestion. Thanks