API:Bde.DBTables.TBDEDataSet.GetCanModify

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetCanModify: Boolean; override;

C++

virtual bool __fastcall GetCanModify(void);

Properties

Type Visibility Source Unit Parent
function protected
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TBDEDataSet

Description

Returns whether a dataset permits write access to data.

Bde.DBTables.TBDEDataSet.GetCanModify inherits from Data.DB.TDataSet.GetCanModify. All content below this line refers to Data.DB.TDataSet.GetCanModify.

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