Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


TACRTable.RestructureTable
TACRTable   Example
Top 

Changes the table structure and some table parameters.

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

Description
Restructures the table associated with this table component.
You should modify RestructureFieldDefs and/or RestructureIndexDefs properties before calling RestructureTable method if it is necessary to add / delete some fields or indexes.
Tha table should be active before modifying these structures.

Note:The process of restructure may take a long time if you work with large table. You may set the OnProgress event handler to provide the user with a feedback about the progress of the slow process or to cancel the process.  



© AidAim Software Accuracer: Client Server Single-file Bde Replacement Delphi Database Embedded Databas