RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.EncodeActionParamsFlags Method

Writes name/value pairs that represent a specified type of information.

Pascal
procedure EncodeActionParamsFlags(AParams: IAdapterItemRequestParams; AOptions: TDataSetAdapterRequestParamOptions);
C++
__fastcall EncodeActionParamsFlags(IAdapterItemRequestParams AParams, TDataSetAdapterRequestParamOptions AOptions);

This method assembles the parameters (name/value pairs) that the adapter needs to add to an HTML form to perform the task indicated by the AOptions parameter. 

AParams is the interface for an object to which the adapter writes parameter values. 

AOptions indicates the type of parameters to add to AParams. 

When AOptions includes poLocateParams, EncodeActionParamsFlags adds a set of name/value pairs that represent dataset fields and their current values. This set of parameters describe the values of all fields in the index that can be used to locate the current record. 

When AOptions includes poCurrentPage, EncodeActionParamsFlags adds a parameter for the current page number. 

 

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