Consultor Eletrônico



Kbase P142621: 4GL/ABL: Session hangs setting the format of a dynamic browse column
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/14/2009
Status: Unverified

SYMPTOM(s):

4GL/ABL: Session hangs setting the format of a dynamic browse column

The code generating the crash has the following 4GL/ABL statement:

ASSIGN
colhndl:LABEL = "Index Fields":T30
colhndl:WIDTH-CHARS = 100
colhndl:FORMAT = "X(120)":U NO-ERROR.

The FORMAT attribute of the underlying field is set in a TEMP-TABLE definition to "X(60)"

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.x

CAUSE:

Bug# OE00181543

CAUSE:

The code attempts to change the format for all rows by setting the FORMAT attribute of the browse column. This is not supported. The FORMAT attribute applies to individual cells and not to a whole column when used in conjunction of a browse widget.

FIX:

Fix the offending code using one of the following two methods:

1. Set the FORMAT of the field to the desired "X(120)" in the TEMP-TABLE or database TABLE definition.

2. Set the FORMAT of the field to the desired "X(120)" in the browse ROW-DISPLAY trigger.