Sorry Yuri
It was the smtp method of my email software causing the problem
Thanks
Colin
>>I am converting a memo field to a text file
>>
>>The memo field contains
>>
>>Hello Colin
>>
>>Hope you are well
>>
>>Colin
>>
>>Using the strtofile command I get
>>
>>Hello Colin Hope you are well Colin
>>
>>How can I get the line breaks?
>>
>>Thanks
>>
>>Colin
>
>STRTOFILE() does not change the contents: it copies it as is to the file.
>Check whether memo field contains the proper chr(13)+chr(10) line breakes, and whether the file editor (where you review the file contents) represents line breaks properly.
Specialist in Advertising, Marketing, especially Direct Marketing
I run courses in Business Management and Marketing