• Hi ,

    Fixed the issue 🙂 , the trailing space was in fact a carriage return , ascci value (13) , used a replace(queryphrase,char(13),'') to fix the issue .

    Guess where i went wrong was assuming there could only be spaces in the column.

    Jay

    Jayanth Kurup[/url]