[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Set the dataset in edit mode, if possible
Source position: db.pas line 1772
public function TDataLink.Edit: Boolean; |
True if the dataset is ready for editing.
Edit attempts to put the dataset in edit mode. It returns True if this operation succeeded, False if not. To this end, it calls the Edit method of the DataSource to which the datalink instance is coupled. If the TDatasource.AutoEdit property is False then this operation will not succeed, inless the dataset is already in edit mode. GUI controls should always respect the result of this function, and not allow the user to edit data if this function returned false.
|
Component representing the link between a local (GUI) component and a dataset |
|
|
Datasource this datalink is connected to |
|
|
Put the dataset in edit mode, if needed |
|
|
Should the dataset be put in edit mode automatically |