[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Delete the current record.
Source position: db.pas line 1630
public procedure TDataSet.Delete; virtual; |
Delete will delete the current record. This action will trigger the TDataset.BeforeDelete, TDataset.BeforeScroll, TDataset.AfterDelete and TDataset.AfterScroll events. If the dataset was in edit mode, the edits will be canceled before the delete operation starts.
If the dataset is empty or read-only, then an EDatabaseError exception will be raised.
|
Cancel the current editing operation |
|
|
Event triggered before a Delete operation. |
|
|
Event triggered before the cursor changes position. |
|
|
Event triggered after a succesful Delete operation. |
|
|
Event triggered after the cursor has changed position. |