Data.Bind.DBScope.TBaseDataLink.Edit

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.Bind.DBScope.pas
Data.Bind.DBScope.hpp
Unit: Data.Bind.DBScope
Parent: TBaseDataLink

Delphi

function Edit: Boolean; virtual;

C++

HIDESBASE virtual bool __fastcall Edit();

Description

Attempts to drive the data source into an editing state if it is not already in one.

The Edit method tries to ensure that the current record can be modified. A return value of True indicates that the data source was already in an editing state, or that it was successfully changed to allow editing. A return value of False indicates that the data source could not be changed to allow editing.

See Also