Skip to Content
0

How to get datawindow header text name

Apr 20, 2017 at 06:39 AM

148

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

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

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.

Show 1 Share
10 |10000 characters needed characters left 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.

0