• Personally, I'd move the decision logic to the procedure. have it accept both parameters as nullable, then handle your logic there.

    The Report then only needs one dataset.

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg