TAstaProvider.BeforeInsert


 

Applies to
TAstaProvider

 

Declaration
type TAstaInsertEvent = procedure(Sender: TObject;
  ClientSocket: TCustomWinSocket; ExecQuery: TComponent;
  CurrentValueDataSet: TDataset;
var Handled: Boolean) of object;

property AfterInsert: TAstaInsertEvent;

 

Description
This event will fire before an insert using
server side SQL and allows you to execute additional SQL statements using the scratch ExecQuery that is passed through by this event. The CurrentValueDataSet will contain the values from the client dataset. If you do NOT want ASTA to generate any SQL and execute it for you then set the Handled argument to True.



ASTA Overview TAstaProvider.BeforeDelete TAstaProvider.BeforeOpen