Skip to main content
Table of Contents

TTMSFNCDataBinderItem.DataSetLocate Method

Moves the dataset cursor to the record matching the given key values.

API unit family: TMSFNCDataBinding Declaring type: TTMSFNCDataBinderItem

Syntax

FMX.TMSFNCDataBinding.hppPascalC++
function DataSetLocate(AKeyFieldNames: string; AKeyValues: string): Boolean;
bool __fastcall DataSetLocate(System::UnicodeString AKeyFieldNames, System::UnicodeString AKeyValues);

Parameters

Name Description
AKeyFieldNames Semicolon-separated list of key field names.
AKeyValues Semicolon-separated list of matching key values.

Returns

True if a matching record was found and the cursor moved to it.