TCustomSQLQuery.ParamByName function
Return parameter by name.
Declaration
function ParamByName(const AParamName: string): TParamArguments
AParamName | Name of parameter to look for. Case insensitive. |
Function result
Resulting
TParam instance.
Description
ParamByName is a shortcut for
Params.ParamByName. The 2 following
pieces of code are completely equivalent:
Qry.ParamByName('id').AsInteger:=123;
and
Qry.Params.ParamByName('id').AsInteger:=123;See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
