Advantage Client Engine
Removes all records from the table and reindexes it
UNSIGNED32 |
AdsZapTable (ADSHANDLE hTable); |
hTable (I) |
Handle of table. |
AdsZapTable will remove all records from the table and all data from the memo file, and then the Advantage Client Engine will reindex the table. The indexes must be opened during the zap or they will become invalid. This operation requires exclusive access to the table, which is specified during the open. AdsZapTable is illegal in a transaction.
Note This API only accepts table handles. The use of a cursor handle with this API is illegal and will result in an error. See AdsExecuteSQL for more details.