Kbase 19068: How to change a column label of a calculated field
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/27/1999 |
|
How to change a column label of a calculated field
DRAFT COPY - Currently under review and edit.
INTRODUCTION:
=============
To change a column-label of a calculated field of a browser in
run-time use the following steps:
1) Define a variable of an appropriate type in the definition section
DEFINE VARIABLE myvar AS INTEGER NO-UNDO.
2) In a browser Column Editor -> Calculated Field Editor define an
expresion for the field:
cust-num * 5 @ myvar
3) Place the browser to a window and use the following code (for
instance in ON CHOOSE OF a button trigger) to change a column label:
ASSIGN myvar:LABEL IN BROWSE {&BROWSE-NAME} = "My new label".
(VZA 27-Aug-99)