ClipperMiami (AT) gmail (DOT) com wrote:
[snip]
Quote:
Can anyone suggest a method that will detect the conflict in all cases
without tripping false conflicts? The Schedule Detail table currently
has about 250,000 items in it so significant modifications to the
database and/or fields are questionable :-) |
The condition that I use is
(datehigh2<datelow1 or datelow2>datehigh1)
where datelow1 to datehigh1 is one date range and datelow2 to
datehigh2 is the other. If the result is true, there is no overlap;
if false, there is.
Sincerely,
Gene Wirchenko
Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.