RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTable.EmptyTable Method

Deletes all records from the table.

Pascal
procedure EmptyTable;
C++
__fastcall EmptyTable();

The EmptyTable method deletes all records from the database table specified by the DatabaseName and TableName properties.

Note: Deletion of records can fail if the user lacks sufficient privileges to perform the delete operation.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!