API:Data.DB.TDataSetField.GetCanModify
Delphi
function GetCanModify: Boolean; override;
C++
virtual bool __fastcall GetCanModify();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSetField |
Description
Returns whether the field's contents can be modified.
Data.DB.TDataSetField.GetCanModify inherits from Data.DB.TField.GetCanModify. All content below this line refers to Data.DB.TField.GetCanModify.
Returns whether the field's contents can be modified.
Call the GetCanModify method to return whether the field can be modified or not. If the field is read-only, GetCanModify returns False. If the dataset is read-only, GetCanModify returns False. Otherwise, GetCanModify returns True.