Delphi Examples: DbiDeleteRecord

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Delphi Examples: DbiDeleteRecord

Return to chapter overview

Delete the current record.

Delphi users should instead use the TTable.Delete method rather than directly calling dbiDeleteRecord. This method is defined as:

 procedure TTable.Delete;

The following code deletes the current record from TTable component Table1:

Table1.Delete;