TurboDB VCL Component Library

TTdbTable.RenameTable

TTdbTable        See also

Previous  Top  Next

Renames a TurboDB database table and all joined files.

Delphi syntax:

procedure RenameTable(const NewTableName: String);

C++ syntax:

void __fastcall RenameTable(const AnsiString NewTableName);

Description

Use RenameTable if you want to give another name to the table. You must close the table before you can rename it. This method renames the table file, the default index files and the memo and blob files. Apply this method carefully since all applications using this database table are affected.