Table of Contents

TAureliusDatasetView.GetOriginalIndex Method

Returns the 0-based position of a record in the unfiltered list given its position in the filtered view.

Syntax

Unit: Aurelius.Bind.BaseDataset

function TAureliusDatasetView.GetOriginalIndex(FilteredIndex: Integer): Integer;

Parameters

<-> Parameter Type Description
FilteredIndex Integer The 0-based index within the accepted (filtered) records.

Returns

The 0-based index in the full unfiltered list, or -1 if not found.

See also