It looks like you're new here. Sign in or register to get started.
CrLf[1] := 13; CrLf[2] := 10; MultilineText := Text1 + CrLf + Text2 + CrLf + Text3;
thegunzo wrote: Use MultiLine property of the textbox text variable CrLfCrLf[1] := 13; CrLf[2] := 10; MultilineText := Text1 + CrLf + Text2 + CrLf + Text3;
EXIT(text1+text2+text3);
CrLf[1] := 13; CrLf[2] := 10; EXIT(text1+CrLf+text2+CrLf+text3);
thegunzo wrote: That is what CrLf is for, that is the newline you are looking for.CrLf[1] := 13; CrLf[2] := 10; EXIT(text1+CrLf+text2+CrLf+text3);
Savatage wrote: When you define them you choose type "CHAR" not integer.http://msdn.microsoft.com/en-us/library/dd338732.aspx Sample Here:http://mibuso.com/blogs/mohana/tag/text-file/
poppins wrote: ok, I understand.... but my text will be displayed in the body of a mail (I am using codeunit 397)...Is it possible to use this idea???
Comments
text variable CrLf
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com
I am not working with a tetbox...
I have the following instruction: I need a new line between each text...
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com
but here crLf is integer not text...
http://msdn.microsoft.com/en-us/library/dd338732.aspx
Sample Here:
http://mibuso.com/blogs/mohana/tag/text-file/
http://www.BiloBeauty.com
http://www.autismspeaks.org
ok, I understand....
but my text will be displayed in the body of a mail (I am using codeunit 397)...Is it possible to use this idea???
In codeunit 397 you need to use chr(10) and/or chr(13) to break lines..
In codeunit 400, when sending mails as html, you can use the tag '<br>'.