EPUB | CHM | PDF

Example: EmptyTable

Top Previous Next

The following example uses a table component to empty a database table. First the properties of the table component are set to specify the table that should be emptied.

with PSQLTable1 do
 begin
  Active := False;
  TableName := 'CustInfo';
  EmptyTable;
 end;