Printing Notes - sometimes repeats first note, and not other

Shaggs
Member Posts: 36
I am printing notes for an unposted sales invoice. I am only printing it in the RTC, and am displaying using the code:
For the most part, this works fine.
I have found, however, that sometimes it does not come out right, depending on the content of the notes.
If I have one note only, it works fine.
If I have two notes, where the text component is the same, but number component is different, it only prints the first one twice. For example, if the notes are "Order 1234" and "Order 1235", it will print "Order 1234" twice.
If I hvae two notes, where the text component is different, it prints fine. For example, the Notes "Order 1234" and "Order 1235 - Urgent" will print fine (both will print).
This seems like such an odd bug. I had to show it to a colleague, to ensure I wasnt going insane.
Does anyone have any experience with this? How I can resolve this?
=IIf(IsNothing(Fields!RecordLink_Note.Value),"", System.Text.Encoding.UTF8.GetString(Fields!RecordLink_Note.Value))in the textbox (in RTC report layout).
For the most part, this works fine.
I have found, however, that sometimes it does not come out right, depending on the content of the notes.
If I have one note only, it works fine.
If I have two notes, where the text component is the same, but number component is different, it only prints the first one twice. For example, if the notes are "Order 1234" and "Order 1235", it will print "Order 1234" twice.
If I hvae two notes, where the text component is different, it prints fine. For example, the Notes "Order 1234" and "Order 1235 - Urgent" will print fine (both will print).
This seems like such an odd bug. I had to show it to a colleague, to ensure I wasnt going insane.
Does anyone have any experience with this? How I can resolve this?
0
Comments
-
Have you placed the textbox in the right data item sections?
Because i have experience with this and based on my experience that happened because I put the textbox in the wrong sections (Classic not in Layout).
Hope this helps
Cheers0 -
Use the function "About this report" to see the data sent to the report...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