Consultor Eletrônico



Kbase P97587: Cannot define a label of a lookup at the instance level when NO-LABEL is checked at the master level
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/15/2004
Status: Unverified

FACT(s) (Environment):

Dynamics 2.1A
OpenEdge 10.0B

SYMPTOM(s):

Cannot define a label at the instance level of a lookup

The lookup master is defined with the NO-LABEL option.

CAUSE:

Known issue, development aware. Having NO-LABEL checked in the master, then there is no way to obtain a label at runtime by modifying anything in the SDF instance properties dialog.

At the instance level, in the Dynamic Property Sheet (DPS), trying to solve the problem by modifying the fieldLabel and LABELS properties can result in loosing the value of these two properties.

Apparently, one root of the problem is that the NO-LABEL option (in SDF prop sheet) is actually connected to the 'LABELS' property in ryc_attibute_value and in the DPS (as described in the help editor at the bottom of the DPS)

FIX:


As a work around for this specific situation (NO-LABEL checked in the master), one can do:
a) Uncheck NO-LABEL in the instance properties dialog
b) It is also possible to refine the LABEL at this point too
c) Close the instance properties dialog
d) Open the Dynamic Property Sheet (DPS)
e) Change the LABELS property to YES
f) Save the viewer

Note it might be possible to solve the problem with the ROM tool too.