Caption Limit (on the form)

Is there a limit of chars on a form caption?

I am asking this, because I am getting same error on CRONUS UK database (version 4) :

Microsoft Business Solutions-Navision
Overflow under type conversion of Text to Text.

Value: 10000000000000000000 London Postmaster Company (With a little bit longe AAAAAAAAAA London Postmaster Company With A long Name AAA AAA

OK

And error is comming from table 224 (Order Address):
Caption()
IF "Vendor No." = '' THEN
  EXIT(Text000);
Vend.GET("Vendor No.");
EXIT(STRSUBSTNO('%1 %2 %3 %4',Vend."No.",Vend.Name,Code,Name));

If there is a limit, is there a way, of accessing "Caption" property and changing it?

Comments

  • Did you try changing the size of the return variable in the Caption locals?
    Dave Cintron
    Dynamics West
    http://www.dynamicswest.com
  • Did you try changing the size of the return variable in the Caption locals?
    How can I access Caption() locals?

    As I understand this is built-in function in table 224, and throught designer I cannot see that function (only throught debugger). Any ideas?
  • Hi Tomas,

    To change the function in table 224 use :

    1. design the table and view globals
    2. on the functions tab select the Caption function and press the locals button
    3. On the return value you can see the size is set to 130

    You will need to be careful if you increase this that it may cause text overflows elsewhere.
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • It must have been a bad day (I was sure, I couldn't see Caption function there). ](*,)
    Thanks Dave.