MaxColAttrib

Declaration: TDataTable.MaxColAttrib (FirstCol, LastCol: longint; var Col: integer): integer;
The function MaxColAttrib returns the maximum attribute of all columns in the range between FirstCol and LastCol. The variable Col returns the column index of the maximum attribute.

Hint: Setting both FirstCol and LastCol to zero values forces the method to scan all columns of the data table.