RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetAdapterPrevRowAction Class

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

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

DBAdapt

Add TDataSetAdapterPrevRowAction to a dataset adapter (TDataSetAdapter) to support HTML forms that let users move to the previous 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 moves the dataset to the prior record. 

Server-side script addresses this action as the 'PrevRow' 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!