int colNum, numCols string colName[] numCols = Integer(dw_control.Describe("Datawindow.Column.Count")) FOR colNum = 1 TO numCols colName[colNum] = dw_control.Describe("#" + String(colNum) + ".name") NEXT