RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.ExtractRequestParamsFlags Method

Reads name/value pairs that represent a specified type of information from the current HTTP request.

Pascal
procedure ExtractRequestParamsFlags(ARequest: IUnknown; AOptions: TDataSetAdapterRequestParamOptions);
C++
__fastcall ExtractRequestParamsFlags(IUnknown ARequest, TDataSetAdapterRequestParamOptions AOptions);

ExtractRequestParamsFlags reads the name/value pairs specified by AOptions from the current request. These parameters (name/value pairs) were initially generated by a call to the EncodeActionParams method when this adapter was contributing to the HTML form from which the request originated. 

ARequest is an interface to the current request object. ExtractRequestParamsFlags uses this interface to extract the parameter information. 

AOptions indicates the type of parameters to read. 

When AOptions includes poLocateParams, ExtractRequestParamsFlags reads the name/value pairs that represent dataset fields and their current values, and adds them to the LocateParamsList property. 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, ExtractRequestParamsFlags reads the parameter for the current page number and uses it to set the CurrentPage property. 

 

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