F_GET_ALL_COLUMN_NAME

// Function Name : f_get_all_column_name
// Argument Name : adw_control, Arg Type : Datawindow, Pass By : Value
//                            as_colname[], Arg Type : String, Pass By : Reference
// Return Type :       (None)

Integer li_i
Integer numCols

numCols = Integer(adw_control.Describe("Datawindow.Column.Count"))

For li_i = 1 To numCols
    //Get Column Name With Describe
    as_colName[li_i] = adw_control.Describe("#" + String(li_i) + ".Name")
Next

0 comments:

Post a Comment