Data.DB.TDataSet.GetCanModify

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetCanModify: Boolean; virtual;

C++

virtual bool __fastcall GetCanModify(void);

Properties

Type Visibility Source Unit Parent
function protected
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

Returns whether a dataset permits write access to data.

GetCanModify is the getter method for the CanModify property. The method always returns True, so descendant classes must override the GetCanModify method to return True if the dataset permits write access to data, and False otherwise. For unidirectional datasets, GetCanModify always returns False.

See Also