API:Data.Bind.DBScope.TBaseDataLink.Edit
Delphi
function Edit: Boolean; virtual;
C++
HIDESBASE virtual bool __fastcall Edit(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.Bind.DBScope.pas Data.Bind.DBScope.hpp |
Data.Bind.DBScope | TBaseDataLink |
Description
Attempts to drive the data source into an editing state if it is not already in one.
Data.Bind.DBScope.TBaseDataLink.Edit inherits from Data.DB.TDataLink.Edit. All content below this line refers to Data.DB.TDataLink.Edit.
Attempts to drive the data source into an editing state if it is not already in one.
Use Edit to try to ensure that the current record can be modified. A return value of true indicates that the data source was already in an editing state, or that it was successfully changed to allow editing. A return value of false indicates that the data source could not be changed to allow editing. For example, if the ReadOnly property is true, Edit will not allow editing and will return false.