• I'm not sure I understand exactly what you're trying to do, but I'd like to offer an alternative solution.

    Can you write a query that returns what you want? If you can, use that as your data source. You may find this to be more efficient than the conditional split.



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]