MaxRowAttrib

Declaration: TDataTable.MaxRowAttrib (FirstRow, LastRow: longint; var Row: integer): integer;
The function MaxRowAttrib returns the maximum attribute of all rows in the range between FirstRow and LastRow. The variable Row returns the row index of the maximum attribute.

Hint: Setting both FirstRow and LastRow to zero values forces the method to scan all rows of the data table.