RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetAdapterApplyRowAction Class

TDataSetAdapterApplyRowAction applies the updates from an HTTP request to a single record of an adapter's dataset.

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

DBAdapt

Add TDataSetAdapterApplyRowAction to a dataset adapter (TDataSetAdapter) to support HTML forms that update a set of field values in the record of a dataset. When this action is executed, it positions the parent dataset on the record specified by the current request object and updates any fields for which new values are included in the current request. 

Server-side script addresses this action as the 'Apply' action of the parent adapter. By default, this action is visible (included in HTML forms) only when the parent adapter is in insert or edit mode. You can, however, cause this action to be included when the dataset is in other modes by changing the value of its ActionModes property. If the action is visible when the dataset is in browse mode, the control for this action appears disabled. 

This action is included by default when the adapter is used to build forms that represent a single database record that is in edit or insert mode. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!