Data.SqlExpr.TCustomSQLDataSet.LocateRecord

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function LocateRecord(const KeyFields: string; const KeyValues: Variant;  Options: TLocateOptions; SyncCursor: Boolean): Boolean;

C++

bool __fastcall LocateRecord(const System::UnicodeString KeyFields, const System::Variant &KeyValues, Data::Db::TLocateOptions Options, bool SyncCursor);

Properties

Type Visibility Source Unit Parent
function protected
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TCustomSQLDataSet

Description

Implements a virtual method for searching a dataset for a specified record and making it the active record.

LocateRecord is a protected method called by Locate to search a dataset for a specified record and make it the active record.

Note: Do not call LocateRecord directly. Instead, call the Locate method.

See Also