TABSTable.RestructureTable
TABSTable
Top 


Modifies the database table structure.

function RestructureTable(var Log: String): Boolean; overload;
function RestructureTable: Boolean; overload;

Description
Modifies the structure of the underlying table.
Set RestructureFieldDefs and RestructureIndexDefs before calling RestructureTable method.

Notes:
To rename existing field, use the RenameField method.

Note:   
Restructuring a table could be a lengthy process if you are working with large table. Use BeforeRestructure, OnRestructureProgress and AfterRestructure event handlers to display the progress of a table restructuring process.