TTMSFNCDataGrid.RowDistinct Method
Returns the number of distinct text values in a row.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCDataGrid
Inherited from: TTMSFNCCustomDataGrid
Syntax
function RowDistinct(ARow: Integer; AFromColumn: Integer = -1; AToColumn: Integer = -1): Double;
double __fastcall RowDistinct(int ARow, int AFromColumn = 0xffffffff, int AToColumn = 0xffffffff);
Remarks
The same column selection as RowSum applies.
Parameters
| Name | Description |
|---|---|
ARow |
Zero-based row index. |
AFromColumn |
First column to include, or -1 for the whole data range. |
AToColumn |
Last column to include, or -1 for the whole data range. |
Returns
Number of distinct values.