RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetAdapterLastRowAction Class

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

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

DBAdapt

Add TDataSetAdapterLastRowAction to a dataset adapter (TDataSetAdapter) to support HTML forms that let users jump to the last 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 its last record. 

Server-side script addresses this action as the 'LastRow' 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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!