RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TQuery.StmtHandle Property

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

Pascal
property StmtHandle: HDBIStmt;
C++
__property HDBIStmt StmtHandle;

Use StmtHandle for direct calls to the BDE that bypass the methods of this dataset. Some BDE API calls require a statement handle as a parameter. For example, TBDEDataSet descendants use StmtHandle when preparing a query or binding parameters.  

Typically, applications do not need to access this property. In TBDEDataSet, StmtHandle is protected, and so unavailable to applications. Some descendants make this property public so that you can bypass the dataset methods and make direct calls to the BDE. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!