RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetAdapterNewRowAction.ImplExecuteActionRequest Method

Provides the underlying implementation for the ExecuteActionRequest method.

Pascal
procedure ImplExecuteActionRequest(AActionRequest: IActionRequest; AActionResponse: IActionResponse); override;
C++
virtual __fastcall ImplExecuteActionRequest(IActionRequest AActionRequest, IActionResponse AActionResponse);

The ExecuteActionRequest method calls ImplExecuteActionRequest to execute this action in response to server-side script. 

AActionRequest is an interface to the current request object. ImplExecuteActionRequest uses this to obtain information about the current request (such as the values of request parameters). 

AActionResponse is an interface to the current response object. ImplExecuteActionRequest uses this to indicate the status of the emerging HTTP response. 

ImplExecuteActionRequest generates an OnExecute event, allowing you to provide the implementation for this action in an OnExecute event handler. If you do not supply an OnExecute event handler, ImplExecuteActionRequest calls the parent adapter's LocateAndApply method, to position the adapter's dataset on the record indicated by the current request and apply any updates that the request contains. 

 

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