Thursday, 20 April 2017

Display Datawindow Column Names

Use the following code to Get the all column names on the Datawindow.

string ls_colname, ls_colvariable
int li, li_count

li_count = integer(dw_st1.describe('DataWindow.Column.Count'))

FOR li = 1 TO li_count
  ls_colvariable = '#'+string(li)+'.name'
  ls_colname = dw_st1.describe(ls_colvariable)
  Messagebox ('Column Names', + ls_colname)
NEXT


Et Voila
Pushparaj

No comments: