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é