Imports a table content from another dataset.
function ImportTable(SourceTable: TDataset): boolean; overload;
function ImportTable(SourceTable: TDataset; var Log: String; aIndexDefs: TIndexDefs = nil): boolean; overload;
Description
Imports a table content from another dataset to the underlying table.
If import completed successfully then ImportTable returns true and Log is blank.
If import errors occured, the result is false and Log parameter contains error messages.
SourceTable is a dataset which content is imported to the current table.
Pass aIndexDefs parameter if the source table has indexes.
|
|