[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'db' (#fcl)

TDataSet.CanModify

Can the data in the dataset be modified

Declaration

Source position: db.pas line 1338

public property TDataSet.CanModify: Boolean
  read GetCanModify;

Description

CanModifiy indicates whether the dataset allows editing. Unidirectional datasets do not allow editing. Descendent datasets can impose additioanl 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

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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.