RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetAdapterBrowseRowAction Class

TDataSetAdapterBrowseRowAction applies the updates from an HTTP request to a single record of an adapter's dataset and changes the dataset adapter to browse mode.

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

Add TDataSetAdapterBrowseRowAction to a dataset adapter (TDataSetAdapter) to support HTML forms that can change from editing or inserting database information to read-only viewing of the data. 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. It then changes the parent dataset's mode to browse mode. 

Server-side script addresses this action as the 'BrowseRow' action of the parent adapter. This action is included by default when the adapter is used to build forms that represent a multiple database records. 

 

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