Unit 'SQLDB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TCustomSQLQuery.MacroByName

Convenience for Macros.ParamByName.

Declaration

Source position: sqldb.pp line 609

public function TCustomSQLQuery.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

#fcl.db.TParams.ParamByName

  

Return a parameter by name.


Documentation generated on: Nov 22 2024