![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » DBISAM Technical Support » Product Manuals » DBISAM Version 4 Manual for RAD Studio XE5 (C++ Win64) » 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 Friday, January 31, 2025 at 08:42 AM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |