Consultor Eletrônico



Kbase P148093: Getting error 26, 142, 3135 and 3140 when open a browse after adding a new field
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/06/2009
Status: Unverified

SYMPTOM(s):

Getting error 26, 142, 3135 and 3140 when open a browse after adding a new field

array subscript 32 is out of range. (26)

** Array subscript is out of range. (26)

** Unable to update Field. (142)

Invalid handle. Not initialized or points to a deleted object. (3135)

Cannot access the <attribute name> attribute because the widget does not exist. (3140)

FACT(s) (Environment):

The newly added field is the 32nd field on the browse
The browse has column sorting with 31 fields
Adding the new column to the sorting resolves the issue
Windows
OpenEdge 10.x

CAUSE:

The browse has column sorting that uses 31 columns, .i.e. all existing column on the browse. The newly added column being 32nd field is not added to the column sorting yet trying to do sorting on it caused the errors.

FIX:

Add the newly added column to the column sorting