Kbase P44868: DITEM is not large enough to hold string. (4043) while running an application.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  30/03/2011 |
|
Status: Verified
SYMPTOM(s):
DITEM is not large enough to hold string. (4043) while running an application.
The application was running fine for some time.
FACT(s) (Environment):
Windows
Progress 9.1C
Progress 9.x
OpenEdge 10.x
CAUSE:
The application populates a combo-box from a database table. The application ran fine for as long as the size of the data populating the combo-box was less than the 32K size limit of the Progress character data type variable. With time, the database table grew and subsequently, the size of data populating the combo-box grew also. Eventually, the size of data populating the combo-box it exceeded its 32K size limit.
FIX:
Ensure that the size of the data populating the combo box does not exceed the 32K limit imposed on the Progress character data type. Or if not possible, implement a one column browse widget instead of the combo-box.