Skip to Content
avatar image
Former Member

How to get datawindow header text name

Hi All,

How do I retrieve the datawindow column header text when we created our own column.

I have tried using:

ls_colname = dw_1.describe ("#1.name")

ls_headertext = dw_1.describe (ls_colname + "_t.text")

But it will not work once add a new column in datawindow.

So please assist.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 20, 2017 at 08:12 PM

    Hi Sudeep,

    I think you will find the answer here: http://nntp-archive.sybase.com/nntp-archive/action/article/%3C357_37747867.E5103DA2@fsj.co.jp%3E

    regards.

    Luis.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Luis.

      Thanks for reply.

      If someone else add one more column in same datawindow and he changed column header text name manually. That time this logic will not work.

      ls_headertext = dw_1.describe (ls_colname + "_t.text")

      This is a alternate solution. If someone else more solution please share with me.

      Thanks & regards

      Sudeep.