RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetAdapterEditRowAction Class

TDataSetAdapterDeleteRowAction puts the parent dataset adapter into edit mode.

Pascal
TDataSetAdapterEditRowAction = class(TCustomDataSetAdapterRowAction);
C++
class TDataSetAdapterEditRowAction : public TCustomDataSetAdapterRowAction;

Add TDataSetAdapterEditRowAction to a dataset adapter (TDataSetAdapter) to support HTML forms that let users start a new edit to the current database record. When this action is executed, it positions the dataset on the record specified in the current request, applies any edits contained in the current request, and puts the parent dataset adapter in edit mode.  

Server-side script addresses this action as the 'EditRow' action of the parent adapter. By default, this action is visible (included in HTML forms) regardless of the mode of the parent adapter. This action is included by default when the adapter is used to build forms that represent multiple database records. 

 

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