TurboDB VCL/CLX Component Library
TTdbTable.RenameTable
TTdbTable   See also
Top 


Renames a TurboDB database table and all joined files.

procedure RenameTable(const NewTableName: string);

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