Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


TACRTable.ImportTable
TACRTable
Top 

Imports a table from any datasource.

function ImportTable(SourceTable: TDataset; var Log: String): Boolean; overload;
function ImportTable(SourceTable: TDataset): Boolean; overload;

Description
Imports a table from any datasource to the Accuracer format.
If succeed the current table will be replaced with the imported one.

SourceTable is a data source of a table to be imported.
Errors and warning messages are stored into the Log variable.

If the import process completed successfully, this function returns True. The Log parameter will be a blank string.This function returns False, indicating that some errors occured. The error and warning messages will be returned in the Log variable.

Note:The process of import may take a long time if you work with large table. 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.  



© AidAim Software Accuracer: Client-server Database Single-file Database Delphi Database Embedded Databas