Table of Contents

TTMSFNCCustomDataGrid.RowDistinct Method

Returns the count of distinct (unique) values across the data columns of a row.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

function RowDistinct(ARow: Integer; AFromColumn: Integer = -1; AToColumn: Integer = -1): Double;

Parameters

Name Description
ARow Zero-based row index.
AFromColumn First column to include, or -1 for the first data column.
AToColumn Last column to include, or -1 for the last data column.

Returns

Number of distinct values as a Double.