Thanks,Bill
Who woulda thunk it?!?!?!
I have removed the LIKE and have followed another approach:
IF @itemcode = '' BEGIN 'run script without the Items.Code filter ENDELSE BEGIN 'run the script with the Items.Code = 'MyCode' ENDThanks, again, Greg!!Bill