Consultor Eletrônico



Kbase P25637: Error 4043 when using the SCREEN-VALUE attribute on a Large Editor widget.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/31/2005
Status: Unverified

FACT(s) (Environment):

Progress 9.1D
Windows NT 32 Intel/Windows 2000

SYMPTOM(s):

DITEM is not large enough to hold string. (4043)

Using the SCREEN-VALUE attribute of the large editor widget in combination with the SUBSTRING function.

Trying to extract a substring from a large editor widget into a character variable.

CAUSE:

The editor contains more than 32K of data, which is the limit for the SCREEN-VALUE attribute.

FIX:

Select the string using one of the Editor methods and properties (look for "Editor Widget" in the on-line help), then use the SELECTION-TEXT attribute to assign the selected string into a character variable.