EasyTable: Single-File Embedded BDE Replacement
Database for Delphi and C++Builder
Exports a table to any other table or dataset.
function ExportTable(DataSource: TDataSource; IndexDefinitions: TIndexDefs; CreateTablePtr: TProcedure; var Log: String): boolean;
Description
Exports a table from the EasyTable format to any datasource.
If succeed returns true and log = '', otherwise the error message will be stored in a Log variable.
DataSource is a datasource of a table to export to.
IndexDefinitions is an index definitions property of a destination table.
If destination table has no IndexDefs property you should pass nil to the IndexDefinitions parameter.
CreateTablePtr is a pointer to the global procedure where create table method or its anlaog is called.
|