Skip to content

TCustomSQLQuery.MacroByName

Convenience for Macros.ParamByName.

Declaration

Source position: sqldb.pp line 627

public 
function TCustomSQLQuery.MacroByName(const AParamName: string) : TParam;

Description

MacroByName checks Macros for the macro named aParamName and returns the requested macro.

Errors

If no macro is found, an exception is raised.

See also

Name Description
#fcl.db.TParams.ParamByName Return a parameter by name.