Bde.DBTables.TBDECallback
Delphi
TBDECallback = class
C++
class PASCALIMPLEMENTATION TBDECallback : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | Bde.DBTables |
Description
TBDECallback is a wrapper for a Borland Database Engine (BDE) callback function.
Use a TBDECallback object to register a callback function with the BDE. Callbacks allow an application to instruct the BDE to take specific actions in response to events that occur during a BDE function call.
For example, the TBatchMove object may encounter problems when executing the corresponding BDE batch operation. A callback function can respond to those problems by instructing the BDE to generate a problems table or to trim the data so that the operation succeeds.
To use a TBDECallback object, take the following steps:
- Create an instance of TBDECallback to register the callback with the BDE.
- Call the BDE function in which the pertinent events take place. For example, create an instance of TBatchMove, and call its Execute method.
- When the BDE function returns, destroy the TBDECallback object to unregister the callback function.