Data.DB.TDataSet.CanModify

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CanModify: Boolean read GetCanModify;

C++

__property bool CanModify = {read=GetCanModify, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

Indicates whether the dataset permits write access to data.

As implemented in TDataSet, this property is false if the dataset is unidirectional, and true otherwise. Descendant classes reimplement this property as follows

For unidirectional datasets, CanModify is always false.

For client datasets, CanModify reflects the value of the ReadOnly property and whether a data provider supplied a read-only data packet.

Other datasets reflect whether the dataset has write access to data.

See Also