CTDatabase.AddTable
Syntax
void AddTable( String Name, String Path)
Parameters
Description
Adds an existing table to the database. It is possible to add FairCom DB files to an existing database if this file has the incremental and DODA structures stored. See Compatibility regarding compatibility issues.
A table that has been created independent from a database, or in a different database may also be added to the current database.
Return
None.
Example
ADatabase.Connect();
try
{
ADatabase.AddTable(my_old_c-tree_file, path);
Console.Write("\nTable added succesfully!!");
}
catch (CTException err)
{
Console.Write("\n\n{0} {1}",err.GetErrorCode(), err.GetErrorMsg());
return (1);
}
See Also
CreateTable(), DeleteTable(), DropTable()