![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » DBISAM Technical Support » Product Manuals » DBISAM Version 4 Manual for RAD Studio XE (C++) » Using DBISAM » Cached Updates |
{ TStringList *TablesList=new TStringList; try { TablesList->Add(MyTable->TableName); MyTable->Database->StartTransaction(TablesList); try { MyTable->ApplyCachedUpdates(); MyTable->Database->Commit(); } catch { MyTable->Database->Rollback(); throw; } } __finally { delete TablesList; } }
void __fastcall TMyForm::MyTableCachedUpdateError(TObject *Sender, TDBISAMRecord *CurrentRecord, Exception *E, TUpdateType UpdateType, TUpdateAction &Action) { Action=uaFail; if (dynamic_cast<EDBISAMEngineError*>(E)) { if (dynamic_cast<EDBISAMEngineError&>(*E)->ErrorCode== DBISAM_RECLOCKFAILED) { Action=uaRetry; } } }
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy Policy![]() © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |