Internal Error 8 in Module 24

lloydsmods
Member Posts: 93
I know this is a "Record too Long" error, but what the heck does that mean? Too many records in a dataset?
If guns cause crime mine must be defective.
0
Comments
-
what were u doing when you received the error?
Also turn on the debugger and see were it stops.0 -
Well, thats the problem. The error occurs in a report on the client's live system. I figured out that some code that strings together reference numbers is the culprit. If I comment that code out the report works fine.
The code loops through a bunch of records and writes the value in one field to a comma seperated text string which is then displayed in the report. The variable for that string is a Text field, size 1024.If guns cause crime mine must be defective.0 -
I think I've seen this problem. There is a limit on how long the value can be printed in a textbox. I can't remember what the maximum length is. I would put a limit and redesign the report to print on multiple lines.0
-
Maximum lenght for a textbox is 1024 at least for 4.0SP1. For 3.01 I think it is 256. I tested both with 1024 and 4.0SP1 worked fine, but 3.01 crashed. So I think it follows the maximum length of a text-variable.
It is also possible that there is a limit per section, but I am not sure about this.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
I found the following quote related to this error message:It indicates that you try to insert a textstring that is to long for the field.
You should check the variable like this:IF STRLEN(MyTextVar) + STRLEN(MyNewValue) <= MAXSTRLEN(MyTextVar) THEN MyTextVar := MyTextVar + MyNewValue ELSE // Do something other because the new text doesn't fit into the text variable
Timo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]0 -
The maximum length which can be displayed in text box in reports is 1013. I don't know what is the significance of this limit. If anybody finds it please tell me.
Regards,
Ravi0
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