>Sergey -
>This is a great idea and much simpler than my previous approach. But after creating the file this way and then opening it with notepad, the carriage returns (CHR(13)) are ignored. They appear to present OK if the file is opened with WordPerfect but not with notepad which I expect most users will want to use. The chr(13) seemed to work OK when the file was created with the other method. I tried the optional flags without success. Is there a better ascii code other than chr(13) that I should be using for a CRLF?
>
>Any insights into this one?
The new line code is CHR(13) + CHR(10). See
Re: Carriage return + line feed Message #
1098685
--sb--