EasyTable: Single-File Embedded BDE Replacement
Database for Delphi and C++Builder


Imports a table from any datasource.

function ImportTable(DataSource: TDataSource; IndexDefinitions: TIndexDefs; var Log: string): boolean;

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

DataSource is a data source of a table to be imported.
IndexDefinitions specifies IndexDefs property of the imported table. If the imported table does not have the IndexDefs property, you should pass nil to the IndexDefinitions parameter.
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 an empty string.This function returns False, indicating that some errors occured. The error and warning messages will be returned in the Log variable.

© AidAim Software EasyTable: Easytable Ben Delphi Database Single File Bde Replacemen