RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetAdapterFirstRowAction Class

TDataSetAdapterNextRowAction posts any edits made in an HTML form and moves the dataset adapter to the first record.

Pascal
TDataSetAdapterFirstRowAction = class(TDataSetAdapterMoveRowAction);
C++
class TDataSetAdapterFirstRowAction : public TDataSetAdapterMoveRowAction;

DBAdapt

Add TDataSetAdapterBrowseRowAction to a dataset adapter (TDataSetAdapter) to support HTML forms that let users navigate to the first record in a dataset. When this action is executed, it locates the parent adapter's dataset on the record specified by the current request object, posts any edits included in the current request, and then moves the dataset to the first record. 

Server-side script addresses this action as the 'FirstRow' action of the parent adapter. If the current request identifies the first record of the dataset as current, the control for this action appears disabled. 

 

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