[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Set the dataset in editing mode.
Source position: db.pas line 1632
public procedure TDataSet.Edit; |
Edit will set the dataset in edit mode: the contents of the current record can then be changed. This action will call the TDataset.BeforeEdit and TDataset.AfterEdit events. If the dataset was already in insert or edit mode, nothing will happen (the events will also not be triggered). If the dataset is empty, this action will execute TDataset.Append instead.
If the dataset is read-only or not opened, then an EDatabaseError exception will be raised.
|
Current operational state of the dataset |
|
|
Indicates whether the last record has been reached. |
|
|
Is the cursor at the beginning of the data (on the first record) |
|
|
Append a new record to the data |
|
|
Event triggered before the dataset is put in edit mode. |
|
|
Event triggered after the dataset is put in edit mode. |