Sign in Join
FPDoc Onlineexperiment

TCustomSQLStatement.ParamByName function

Member of TCustomSQLStatementpublicIn unit SQLDB

Find a parameter by name.

Declaration

pascal
function ParamByName(const AParamName: string): TParam

Arguments

AParamName

Parameter to search for.

Function result

The parameter with name AParamName.

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.