Data.DB.TDataLink.ReadOnly

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: TDataLink

Delphi

property ReadOnly: Boolean read FReadOnly write SetReadOnly;

C++

__property bool ReadOnly = {read=FReadOnly, write=SetReadOnly, nodefault};

Description

Indicates whether the dataset for this TDataLink can be modified.

Use ReadOnly to determine whether the dataset for this TDataLink can be modified. Setting ReadOnly to true causes any subsequent calls to the Edit method to fail, and changes the DataSource out of an editing state if it is in one. Setting ReadOnly to false enables changes to the data in the dataset.

See Also