• Jeff Moden (9/17/2014)


    Perhaps I'm missing something but for each job, wouldn't you just compare the start date of the job with the end date of the other jobs and the end date of the job with the start date of the other jobs? If the end date of the other jobs is less than "the" job, it can't overlap and if the start date of the other jobs is greater than "the" job, it can't over lap there either. I'm thinking that only two conditions are needed instead of 3.

    I've just looked into this:

    ................................|-------------------|

    >>>>...................................|-------------------------------|

    .......................................................................|-------------------|

    .............................|---------------------------------------------------------|

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]