The STRTOFILE() doesn't strip line breaks from the text. IOW, you don't have line breakes in your memo or they are incomplete.
>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?
>
--sb--