Consultor Eletrônico



Kbase P13482: Temp Table fields defined like a database field do not inherit column labels for a dynamic browse.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/25/2005
Status: Unverified

FACT(s) (Environment):

Progress 9.1D

SYMPTOM(s):

Temp Table fields defined like a database field do not inherit column labels for a dynamic browse.

If a temp table field is defined like a database table field, the temp table field label will default to its field name, not the column label specified for the database field.

FIX:

When adding the columns to the browse, use the column handle to set the label for the column, e.g.

browse:ADD-LIKE-COLUMN("TTName.field1").
browse:ADD-LIKE-COLUMN("TTName.field2").
colHandle = browse:FIRST-COLUMN NO-ERROR.
colHandle:LABEL = "Cust-Num".
colHandle = colHandle:NEXT-COLUMN NO-ERROR.
colHandle:LABEL = "SalesRep".