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

Discussão em 'StackOverflow' iniciado por fdantas, Abril 6, 2016.

  1. fdantas

    fdantas Administrator Moderador

    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...

Compartilhe esta Página