RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomSQLDataSet.ParamByName Method

Locates a parameter in the Params property collection.

Pascal
function ParamByName(const Value: string): TParam;
C++
__fastcall TParam ParamByName(const AnsiString Value);

Call ParamByName to access a specific parameter object, given its name. Value is the name of the parameter. 

ParamByName is primarily used to set a parameter's value at runtime. 

 

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