Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix
Repairs the database and all its tables associated with this database component.
function RepairDatabase(UseLowLevelTableAccess: Boolean = False): Boolean; overload;
function RepairDatabase(var Log: String; UseLowLevelTableAccess: Boolean = False): Boolean; overload;
Call RepairDatabase to repair data corruption that may occur due to unexpected power loss or improper operating system shutdown.
This function returns True if the process finishes successfully. If some changes were made Log parameter contains a string with the log of changes, in other case, if all the tables are correct and if no updates had been made the Log parameter is blank.
If some of the tables cannot be repaired with default settings, try to run RepairDatabase with UseLowLevelTableAccess to true - this is alternative method of repairing the table without using TACRTable component.
If it is impossible to repair the database, RepairDatabase returns False.
|Note:||Repairing process may take a long time if you work with large database. You may set the OnProgress event handler to provide the user with a feedback about the progress of the slow process or to cancel the process.