i need a query to check two dates on a form (a date range) against the date ranges already in a table for conflictions.
Basically i need to return records where any of the dates in the date range on the form conflict beteen any of the dates in the database.
eg.
if the form date range was [DATE FROM] 02/01/02 and [DATE TO] 02/10/02
and there was a record in the table already for [DATE FROM] 02/03/02 and [DATE TO] 02/12/02 then the record would be returned because the dates conflict.
I expected there to be a function for conflicting date ranges already in access so if there is one i need it and if there isnt how can it be done?
Basically i need to return records where any of the dates in the date range on the form conflict beteen any of the dates in the database.
eg.
if the form date range was [DATE FROM] 02/01/02 and [DATE TO] 02/10/02
and there was a record in the table already for [DATE FROM] 02/03/02 and [DATE TO] 02/12/02 then the record would be returned because the dates conflict.
I expected there to be a function for conflicting date ranges already in access so if there is one i need it and if there isnt how can it be done?