IBX.IBStoredProc.TIBStoredProc.ParamByName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ParamByName(const Value: string): TParam;

C++

Data::Db::TParam* __fastcall ParamByName(const System::UnicodeString Value);

Properties

Type Visibility Source Unit Parent
function public
IBX.IBStoredProc.pas
IBX.IBStoredProc.hpp
IBX.IBStoredProc TIBStoredProc

Description

Accesses parameter information based on a specified parameter name.

Call ParamByName to return parameter information for a specific parameter based on its name. Value is the name of the parameter for which to retrieve information. Typically ParamByName is used to set an input parameter's value at runtime, or to retrieve the value of an output parameter. The following command line assigns the value "Jane Smith" as the value for the parameter named Contact:


StoredProc1.ParamByName('Contact').AsString := 'Jane Smith'; StoredProc1->ParamByName("Contact")->AsString = "Jane Smith";