Sure it matters. The CR+LF (CHR(13) + CHR(10)) is standard end of the line on the Windows platform.
>
>I am ashamed to admit that I have now done EXACTLY what you suggested (including chr(10)) and it works! This time I put the chr(10) after the chr(13) - previously I had carelessly put it before the chr(13). I did not think it would matter - but it does!
>
>Thank you for your help as always.
>
--sb--