This will remove "duplicate" CR from the memeo in the report:
STRTRAN(STRTRAN(theMemoField, chr(13)+chr(10)+chr(13)+chr(10), chr(13)+chr(10)), chr(13)+chr(10)+chr(13)+chr(10), chr(13)+chr(10))
If you want to remove all CR:
STRTRAN(theMemoField, chr(13)+chr(10), '')
Is this what you wanted?
>I put a character string in a memo field. The user may use the "enter" key when he enters data. The field size for the memo field will hold more than the number of lines in memo field. I am hoping that I can surpress blank lines and reduce the size of the space that is allocated for the memo field. Then the next line of the report will move up to below the last printed line of the memo field.
>
>Must I do this with code, or can I use the report writer somehow?
>
>Thanks for your reply.
Doru