New Line

sadynamics
Member Posts: 42
Hi Experts,
Is it possible to create line break or new line in Navision. Basically i am trying to send mails from navision it is giving clubbed sentence. Is there any possibility of creating line breaks in C/AL.
Thanks....
Is it possible to create line break or new line in Navision. Basically i am trying to send mails from navision it is giving clubbed sentence. Is there any possibility of creating line breaks in C/AL.
Thanks....
Luv,
Dynamics Lover
Dynamics Lover
0
Comments
-
[Topic moved from Navision Exams & Certification forum to Navision forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
IF you do this:
MESSAGE('This is the first line \This is the second line');
It will show you:
This is the first line
This is the second line
Does it help?
Rgds,
Jon.Rgds,
Jon.1 -
Hi Jonsan,
I will tell you the scenario. i have declared one variable and i am hardcoding below sentence to that variable like below
Text:= 'Please find attached document syzx..............etc'
i am passing this value to code unit from their i am sending mails. My problem is i need to have line break up in those sentence.
like below
Text:=Please find attached document syzx
other words here.....
i can't give any line breaks in above issue. so i am using space instead of line break. But when it is displaying in outlook it's coming unordered way...
i believe you can understand the issue....Luv,
Dynamics Lover0 -
cr:= 10;
lf := 13;
MESSAGE('sometext'+ FORMAT(cr)+ FORMAT(lf) +'somemore');
where cr & lf are chars0 -
Or more beautiful:
txtCRLF := 'xx'; txtCRLF[1] := 13; txtCRLF[2] := 10; MESSAGE('sometext'+ txtCRLF +'somemore');
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi experts,
i don't want message to be displayed. i am passing the hardcoded value to one variable in code unit..
below are the output in my mail box..
Hi, please see attached... some text
regards,
please note that i am storing this sentence in one variable...
the mail should be like this,
Hi,
Please see attached..Some text
regards,
Hope you understand my issue...Luv,
Dynamics Lover0 -
Something like this:
txtCRLF := 'xx'; txtCRLF[1] := 13; txtCRLF[2] := 10; txtTheVariable := 'sometext'+ txtCRLF +'somemore';
And that variable, you send into the body of the email.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!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