TurboDB VCL/CLX Component Library
TTdbTable.AlterTable
TTdbTable
Top 


Restructures the database table.

procedure AlterTable;

Description
Use AlterTable to modify the columns, the table level, the password or key of a database table. Before you call AlterTable set the FieldDefsTdb, the TableLevel, the Password and the Key properties to the desired values. If the OnProgress event is assigned, AlterTable notifies the handler during the altering process.

Note: Do not call any TurboDB database methods in the OnProgress event handler during altering a table since this can leave the TurboDB Engine in a indeterminate state.