Error With ADDTEXT Method On BigText Variable

Jonathan2708Jonathan2708 Member Posts: 552
Hi,

I'm building up a large piece of text into a BigText variable using several ADDTEXT statements, however it gets so far before hanging NAV altogether. If I turn the debugger on I manage to trap the error which is caused by one of the ADDTEXT statements. The error is :

"The following text cannot exceed a total of 1034 characters." followed by the text that has been added to the BigText variable so far.

Can anybody explain this one? Using NAV 2009 SP1 Classic Client. The code is within a table function called from a field OnValidate() trigger.

Thanks

Jonathan

Comments

  • ZuxelZuxel Member Posts: 6
    Yes. It's known debugger bug. When you want to see BigText value in debugger and it's length more then 1024 you will get you error.
Sign In or Register to comment.