RAD Studio VCL Reference
TDataSet.CanModify Property

Indicates whether the dataset permits write access to data.

property CanModify: Boolean;
__property Boolean CanModify;

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!