I have a text box in a report section. This text box is sourced from some text variable (Length=1024). When a report tries to display this section Navision crashes. The max allowed length not leading to a system crash for this variable is 404. Is it a normal behavior?
1. Create a new report with a Customer dataitem (for example).
2. Fill in the code:
Customer - OnAfterGetRecord()
[
FOR I:=1 TO 405 DO // I is a Local integer variable
TextVar[I]:='A'; // TextVar is a Global TEXT (Length=1024) variable
]
3. Create a section with a Text Box sourced to a TextVar variable (SourceExpr=TextVar)
4. Compile, Save and Run a report.
5. Enjoy your Navision crash (EventType: navisioninternalerror P1: navision P2: 03.70.01.16172 P3: 8 P4: 24)
This issue was reproduced on different clients, different reports, different databases with Navision 3.70A and 3.70B SQL and single user versions.
Comments
Arhontis
https://forum.mibuso.com/search
Navision allows 1024 as max length in report and my report is running fine. There must be some other problem.
http://ssdynamics.co.in
1. Create a new report with a Customer dataitem (for example).
2. Fill in the code: 3. Create a section with a Text Box sourced to a TextVar variable (SourceExpr=TextVar)
4. Compile, Save and Run a report.
5. Enjoy your Navision crash (EventType: navisioninternalerror P1: navision P2: 03.70.01.16172 P3: 8 P4: 24)
This issue was reproduced on different clients, different reports, different databases with Navision 3.70A and 3.70B SQL and single user versions.
Any suggestions would be appreciated.
error 8 in module 24
or
error 24 in module 8
Maybe someone else will be able to find the error text before I get back to my other machine and find it for you.
T
24-8 Internal Errors #Err_MT_RecordTooLong (Module_MT,8 )
But what does it mean?
Have anyone else experienced such a report section TEXT length issue?
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n