Thanks for that clarification
>It depends on what the text is used for. A chr(13) alone will in some editors show the lines on top each other instead of under each other. Chr(10) makes sure that the next line will always come on a new line.
>
>>Why would the chr(10) be necessary? Using only chr(13) seems to be doing the job.
>>
>>>Just a sidenote: in addition to chr(13), you should also add chr(10).
>>>
>>>>I want to add a date to a memofield. If the field is empty I only add a date. If the field is not empty I do an alltrim on the content of the memo and then I add chr(13) and then I add a date.
>>>>
>>>>It does'nt work for one of my memo fields. I have one empty line that should'nt be there.
>>>>
>>>>I thought that SET MEMOWIDTH could help but it didn't change a thing.
>>>>
>>>>Any thoughts?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé