DataSetProvider1.OnUpdateError
ApplyUpdates 缓存更新错误异常
UpdateError
EFDException
AException
void __fastcall TFrmItem::Query1UpdateError(TDataSet *ASender, EFDException *AException,
TFDDatSRow *ARow, TFDUpdateRequest ARequest, TFDErrorAction &AAction)
{
errmsg = E->Message;
throw E;
}
void __fastcall TFrm::Query1UpdateError(TDataSet *ASender, EFDException *AException,
TFDDatSRow *ARow, TFDUpdateRequest ARequest, TFDErrorAction &AAction)
{
dm->FDConnection1->Rollback();
throw new Exception( AException->Message );
}