RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBDEDataSet.ConstraintCallBack Method

Specifies the callback function that allows the dataset to communicate with the BDE constraint layer.

Pascal
function ConstraintCallBack(Req: DsInfoReq; var ADataSources: DataSources): DBIResult; stdcall;
C++
__fastcall __stdcall DBIResult ConstraintCallBack(DsInfoReq Req, DataSources ADataSources);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!