get(dbe) truncates at 1000 characters

I am working with a script that handles a field in a dialog, in which text is placed. If the amount of characters in the text exceeds 1000 characters, the text is truncated at 1000.  Does anyone know why this restriction is in place, and how to extend it?

Is this a restriction of string?

Using DOORS 9.2.

 

Thanks.


Gedinfo - Tue Oct 08 17:12:43 EDT 2013

Re: get(dbe) truncates at 1000 characters
llandale - Wed Oct 09 13:52:35 EDT 2013

Well, "String" attributes have a limit, IIRC about 967 characters.  Big strings should be put in "Text" attributes.  I suppose "Field" and "Text" DBEs follow the same idea.

Seems to me if the user is entering so much data then you should use a "text" DBE.

I think you will find the "field" cannot handle EOLs if you should paste it therein.

-Louie

Re: get(dbe) truncates at 1000 characters
Gedinfo - Sun Oct 13 22:08:04 EDT 2013

llandale - Wed Oct 09 13:52:35 EDT 2013

Well, "String" attributes have a limit, IIRC about 967 characters.  Big strings should be put in "Text" attributes.  I suppose "Field" and "Text" DBEs follow the same idea.

Seems to me if the user is entering so much data then you should use a "text" DBE.

I think you will find the "field" cannot handle EOLs if you should paste it therein.

-Louie

Louie,

Thank you for that information.  As you describe it, there is a copy and paste of data into the Field(), which gets truncated.

With the text(), there is no truncation.

You are correct about the EOL  as well.