I am using Progress 4gl and trying to dynamically change a column-label, is this possible

Status
Not open for further replies.
N

NinjaWfc

Guest
I tried the below code :-

def temp-table tt-dg1 field dtoday as date column-label "dg " .

buffer tt-dg1:BUFFER-FIELD("dtoday"):column-LABEL = buffer tt-dg1:BUFFER-FIELD("dtoday"):column-LABEL + "77".

display buffer tt-dg1:BUFFER-FIELD("dtoday"):column-LABEL.

create tt-dg1. dtoday = today.

display tt-dg1 with frame f2.

Expecting field dtoday to now have a column-label of 'dg 77' but it's still 'dg ', I need this to add week numbers to the standard column-labels of a spreadsheet I am creating.

Any help gratefully receieved :)

Continue reading...
 
Status
Not open for further replies.
Top