Hello all
I am trying to write a parameter query that shows me what equipment is booked during a specific time range.
For example, the booking table is setup with the EquipmentID, FROMDATE and THRUDATE.
EQIUPMENT..........FROMDATE......THRUDATE
Equipment A..........1/2/17..........28/2/17
Equipment B..........5/2/17..........10/2/17
Equipment C..........18/2/17.........20/2/17
How do i write the query to show me all Equipment that is booked out from the 5th - 15th of Feb?
The query should return 2 bookings using the above data (Equipment A and Equipment B)..... however i can only get the query to return Equipment B, as that one has a start date of the 5th. I cannot get the query to also add the Equipment A booking, which is still active for that query date range.
Any help greatly appreciated.
I am trying to write a parameter query that shows me what equipment is booked during a specific time range.
For example, the booking table is setup with the EquipmentID, FROMDATE and THRUDATE.
EQIUPMENT..........FROMDATE......THRUDATE
Equipment A..........1/2/17..........28/2/17
Equipment B..........5/2/17..........10/2/17
Equipment C..........18/2/17.........20/2/17
How do i write the query to show me all Equipment that is booked out from the 5th - 15th of Feb?
The query should return 2 bookings using the above data (Equipment A and Equipment B)..... however i can only get the query to return Equipment B, as that one has a start date of the 5th. I cannot get the query to also add the Equipment A booking, which is still active for that query date range.
Any help greatly appreciated.