Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
TABSTable.ImportTable
TABSTable
Top 


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.

        © 2003 - 2017 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Dec 16, 2017