G
Guest
I Have a Hire Dates Table, and to keep things simple, the car has hire dates
booked between 01/01/07 to 10/01/07 and another between 20/01/07 to 30/01/07.
How do I test by querying the table that the dates are free for a further
booking on the 11/01/07 to 19/01/07, i.e. prove the spaces between records.
Beware, the query must not be able to bridge an existing booking, i.e.
31/12/06 to 11/01/07
It probably seems quite simple but it's running me round in circles.
Many Thanks in advance for any assistance.
Andy....
booked between 01/01/07 to 10/01/07 and another between 20/01/07 to 30/01/07.
How do I test by querying the table that the dates are free for a further
booking on the 11/01/07 to 19/01/07, i.e. prove the spaces between records.
Beware, the query must not be able to bridge an existing booking, i.e.
31/12/06 to 11/01/07
It probably seems quite simple but it's running me round in circles.
Many Thanks in advance for any assistance.
Andy....