Sergey,
Thanks a lot. This helped. Must be a case where I suffeer from a severe sabbath blackout :(
One thing I cant get your proposed oinliner:
chrtran(lcSql, chr(13), chr(10), '')
correctly working. Nevermind just used my 2liner.
Have a nice weekend.
Koen