Bde.DBTables.TBDEDataSet.ConstraintCallBack
Delphi
function ConstraintCallBack(Req: DsInfoReq; var ADataSources: DataSources): DBIResult; stdcall;
C++
System::Word __stdcall ConstraintCallBack(Bde::DsInfoReq Req, Bde::DataSources &ADataSources);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TBDEDataSet |
Description
Specifies the callback function that allows the dataset to communicate with the BDE constraint layer.
Use the address of ConstraintCallBack as a parameter when making direct API calls to Borland Database Engine (BDE) functions that require a callback to provide information about the constraints on the dataset or its fields.