>I would like to create a basic text file report on the fly. How does one send new line or carriage return line feed to the file using the STRTOFILE function. What I get by using CHR(13) is a file that when viewed shows black squares instead of line breaks. When printed I get an un printable character. I would like to keep this simple and us mail to send this file as an attachment, but cant get over this hurdle. Any help would be appreciated.
Have you tried using CHR(10) or maybe CHR(13+CHR(10), a cariiage return/linefeed pair? What are you viewing this with that you get the black boxes?