• I guess you can achieve this through IF..ELSE and WHERE clause.

    HTH

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."