• I copied it into notepad and used the edit/replace option to replace a copy/paste of the stupid little squate box to space. That seemed to work but I got an error when I tried to exectue the script complaigning #db03632 does not exist.

    I will have took look into the temp table definition later.

    HTH -- Mark D Powell --