FindColIndex

Declaration: TDataTable.FindColIndex (ColID: string): integer;
The function FindColIndex returns the index of the column with the name ColID. If there is no column which matches ColID a zero value is returned. In case of several columns having the same name, the column with the lowest index is returned. Lower and upper cases may be mixed (however mind the umlauts of foreign languages).