Hello! I’m working on a multi-line text-editor in Navision, with the possibility to send the text as a mailitembody to Outlook. My question is: How can I tell Outlook that the mailbody has more than one line? That is: is there a way to let Navision generate a ‘Carriage Return’? Martin Pennings Sittard Netherlands
Hi Martin. Define CR As Char Put CR := 13; and but Format(CR) where you want to do “Carriage Return” as in line := line1 + Format(CR) + line2; Regards Gudmundur Petursson
Thanks! That worked! Martin Pennings Sittard Netherlands
Not every Text-Editor will be happy with a single CR. Officially you should use CR+LF: CRLF : Text[2]; Begin CRLF[1] = 13; CRLF[2] = 10; line := line1 + CRLF + line2; End; — Marcus Marcus Fabian phone: +41 79 4397872 m.fabian@thenet.ch