Skip to content

TCustomSQLStatement.ParamByName

Find a parameter by name.

Declaration

Source position: sqldb.pp line 443

public 
function TCustomSQLStatement.ParamByName(const AParamName: string)
                                         : TParam;

Description

ParamByName finds the parameter AParamName in the Params property.

Errors

If no parameter with the given name is found, an exception is raised.

See also

Name Description
TSQLStatement.Params List of parameters.
TParams.ParamByname