Skip to content

TDataSet.CanModify

Can the data in the dataset be modified.

Declaration

Source position: db.pas line 2098

public property CanModify: Boolean;

Description

CanModifiy indicates whether the dataset allows editing. Unidirectional datasets do not allow editing. Descendent datasets can impose additional conditions under which the data can not be modified (read-only datasets, for instance). If the CanModify property is False, then the edit, append or insert methods will fail.

See also

Name Description
TDataset.Insert Insert a new record at the current position.
TDataset.Append Append a new record to the data.
TDataset.Delete Delete the current record.
Tdataset.Edit Set the dataset in editing mode.