API:Data.DB.TDataSetField.GetCanModify

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSetField

Delphi

function GetCanModify: Boolean; override;

C++

virtual bool __fastcall GetCanModify();

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.

See Also