• Thanks that seems to work with SQL 2005 now.

    Ian