Data.DB.TDataSet.CanModify

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSet

Delphi

property CanModify: Boolean read GetCanModify;

C++

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

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