• Thank you both. I was thinking dynamic SQL and that's the direction I'll go with.

    Regards,

    John