RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetAdapterNextRowAction Class

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

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

Add TDataSetAdapterNextRowAction to a dataset adapter (TDataSetAdapter) to support HTML forms that let users progress to the next dataset record. 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 advances the dataset to the next record. 

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

 

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