New line character for a text

poppins
Member Posts: 647
Hi everyone,
I need to display a text composed of three parts.
I need to have a new line each time a new part begins...
How can I do that?
Thanks in advance
I need to display a text composed of three parts.
I need to have a new line each time a new part begins...
How can I do that?
Thanks in advance

0
Comments
-
Use MultiLine property of the textbox
text variable CrLfCrLf[1] := 13; CrLf[2] := 10; MultilineText := Text1 + CrLf + Text2 + CrLf + Text3;
________________________________
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com0 -
thegunzo wrote:Use MultiLine property of the textbox
text variable CrLfCrLf[1] := 13; CrLf[2] := 10; MultilineText := Text1 + CrLf + Text2 + CrLf + Text3;
I am not working with a tetbox...
I have the following instruction:EXIT(text1+text2+text3);
I need a new line between each text...0 -
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);
________________________________
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com0 -
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/0 -
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/
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???0 -
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???
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>'.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions