OnCustomDelete Event

Applies to
TIB_Dataset

Declaration
TIB_DatasetEvent = Procedure(IB_Dataset: TIB_Dataset ) of object;

Description
This event enables a custom handler to be supplied in order to perform the delete on the server. An exception may be raised in this event and the Post process will be stopped.

The CSDemos sample application shows how a stored procedure is used to perform the delete instead of the default way.

It may be easier to assign a statement to the DeleteSQL property that can be either a DELETE statement or an EXECUTE PROCEDURE statement.