Consultor Eletrônico



Kbase P3414: Cannot rely on Temp-tables definition of FORMAT, LABEL for a field => RCODE-INFORMATION
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   03/03/2006
Status: Verified

FACT(s) (Environment):

Progress 9.x

SYMPTOM(s):

Cannot rely on Temp-tables definition of FORMAT, LABEL and HELP for a field

Default progress FORMAT and LABEL of a data type is used

CAUSE:

When the defined formats, labels and help are not used at all by any STATIC statement or function in a program, then they are not saved in the .R at compile time. The reason for this is to reduce the size of the actual r-code file.

FIX:

Use the RCODE-INFORMATION option on the DEFINE TEMP-TABLE statement. The RCODE-INFORMATION option tells Progress to store FORMAT, LABEL, INITIAL and HELP information into the r-code even when not used in any STATIC statement/function of the Program, so they can be used with dynamic programing techniques