|
TOnApplyDefaultValue = procedure (DataSet: TDataSet; Field: TField; var Applied: boolean) of object;
The event handler is called for each field with a not null DefaultExpression during insertion of a new record. In this handler you can handle DefaultExpression for some fields yourself if a standard handling procedure doesn’t suit for these needs. You should set Applied to True in order to handle it manually and deactivate standard handling.