Sign in Join
FPDoc Onlineexperiment

TCustomSQLQuery.MacroByName function

Member of TCustomSQLQuerypublicIn unit SQLDB

Convenience for Macros.ParamByName.

Declaration

pascal
function MacroByName(const AParamName: string): TParam

Arguments

AParamName

The name of the macro to search.

Function result

The requested macro definition.

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

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