CRLF inside a Memo Variable?

Hi Team,
Trying to create a single Address memo field from multiple table fields.
I have tried the following..Value := Company['NAME'] + Chr(10) + Chr(13) + Company['ADDRESS1'];
But I still get the name & Address on a single line.
Is there a way to insert CRLF in this way?
Regards & TIA,


  • Hi Ian,

    Be sure you have the WordWrap property set to True. Also note that a proper CRLF is #13#10 or Chr(13) + Chr(10).

    Is there a reason you are using a Variable? Generally Variables are meant for calculations in the OnCalc event. For an address memo, I suggest using a TppMemo and use the Lines.Add routine to insert each line.

    Best Regards,

    Nico Cizik
    Digital Metaphors
Sign In or Register to comment.