Bde.DBTables.TDBDataSet.Handle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Handle: HDBICur read GetHandle write SetHandle;

C++

__property Bde::hDBICur Handle = {read=GetHandle, write=SetHandle};

Properties

Type Visibility Source Unit Parent
property public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TDBDataSet

Description

Specifies the Borland Database Engine (BDE) cursor handle for the dataset.

Use Handle only to bypass TDataSet methods and call directly into the BDE. Many BDE function calls require a cursor handle parameter. Handle is assigned an initial value when a dataset is opened. If used with a BDE call that changes the current record position, call Resync immediately after returning from the BDE call.

TBDEDataSet allows the Handle property to be set to an existing BDE cursor handle. Setting the Handle property is intended primarily for internal use. Descendant classes redeclare the Handle property to re-establish it as a read-only property

Note: Do not use this property unless an application requires BDE functionality not available through built-in components.

See Also