Table of Contents

TTMSFNCDataGridDatabaseAdapter.SetActiveRecord Method

Navigates the dataset to the record corresponding to grid row ARow. Returns True on success. Does not trigger grid selection events.

API unit family: TMSFNCDataGridDatabaseAdapter Declaring type: TTMSFNCDataGridDatabaseAdapter Inherited from: TTMSFNCCustomDataGridDatabaseAdapter

Syntax

function SetActiveRecord(ARow: Integer): Boolean; virtual;

Parameters

Name Description
ARow Zero-based row index used by the operation.

Returns

True when the operation succeeds; otherwise False.