Table of Contents

TTMSFNCDataGridDatabaseAdapter.DataSetLocate Method

Locates a record in the dataset by matching AKeyValues against AKeyFieldNames (comma-separated). Returns True when the record is found and the dataset is repositioned to it.

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

Syntax

function DataSetLocate(AKeyFieldNames: string; AKeyValues: string): Boolean;

Parameters

Name Description
AKeyFieldNames Dataset field used by the operation.
AKeyValues Text value used by the operation.

Returns

True when the operation succeeds; otherwise False.