RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DBClient.UnpackParams Function

Converts an OleVariant that represents a set of parameters into a TParams object.

Pascal
procedure UnpackParams(const Source: OleVariant; Dest: TParams);
C++
UnpackParams(const OleVariant Source, TParams Dest);

Client datasets use UnpackParams update their Params property with parameter values received over an IAppServer interface. Use UnpackParams to decode parameter values when using the IAppServer interface directly rather than using the methods of TClientDataSet

The Source parameter is an OleVariant that represents a set of parameter values. Parameter values can be encoded into this format using the PackageParams function. 

The Dest parameter is a TParams object (usually the Params property of a destination component) that receives the parameter values. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!