RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataLink.Edit Method

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

Pascal
function Edit: Boolean;
C++
__fastcall Boolean Edit();

Use Edit to try 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. For example, if the ReadOnly property is true, Edit will not allow editing and will return false. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!