Carriage return into a text variable on Word Layout report
pcolina
Member Posts: 7
Hi!
I have a problem with some data formating into a Custom Word Layout report. Here is my case:
I have a data item which i represent with a repeater in the custom word layout. On the aftergetrecord of this dataitem, I fill a text variable wtih some data, but I need to introduce a Carriage Return inside that text variable, in order to achieve to display that text variable in two different lines in the field in the word layout.
For example, in my text variable I have "TEXT1 TEXT2". I need to display this text on two lines in the field of the Word Layout. Like this.
TEXT1
TEXT2
I'vre tried different solutions like:
https://community.dynamics.com/nav/f/34/t/188964
https://dynamicsuser.net/nav/f/developers/8258/carriage-return-crlf-into-a-text-variable
https://forum.mibuso.com/discussion/64696/newlines-in-word-report-fields
but anything has worked.
Does anyone have achieved such thing?
I have a problem with some data formating into a Custom Word Layout report. Here is my case:
I have a data item which i represent with a repeater in the custom word layout. On the aftergetrecord of this dataitem, I fill a text variable wtih some data, but I need to introduce a Carriage Return inside that text variable, in order to achieve to display that text variable in two different lines in the field in the word layout.
For example, in my text variable I have "TEXT1 TEXT2". I need to display this text on two lines in the field of the Word Layout. Like this.
TEXT1
TEXT2
I'vre tried different solutions like:
https://community.dynamics.com/nav/f/34/t/188964
https://dynamicsuser.net/nav/f/developers/8258/carriage-return-crlf-into-a-text-variable
https://forum.mibuso.com/discussion/64696/newlines-in-word-report-fields
but anything has worked.
Does anyone have achieved such thing?
0
Comments
-
DEbbuging the process I've found that inside NAV the text variable already has applied the Carriage Return, so it seems that somehow, Word is replacing that "character" with a blank space.
:-S0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions