>Hi Joaquim, I'm only guessing it has something to do with carriage returns / line feeds in your text box, also, try using a stringbuilder to build your where clause HTH
Thank you Pete.
I was only being lazy. It should have been obvious: i should replace '\r\n' with 'chr(13) + chr(10)'
Your message showed me the way...
Joaquim
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only