Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix
Copies the database file associated with TACRDatabase component to another file.
function CopyDatabase(const NewDatabaseFileName: String): Boolean; overload;
function CopyDatabase(var Log: String; const NewDatabaseFileName: String): Boolean; overload;
Call CopyDatabase to copy the database file (or extract database file from executable database). CopyDatabase returns true if database was copied successfully, otherwise it returns false and error log in the Log parameter.
|Note:||Copy 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 potentially slow process or to cancel the process.