FireDAC.Stan.Param.TFDParam.ParamType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ParamType: TParamType read FParamType write FParamType default ptUnknown;

Properties

Type Visibility Source Unit Parent
property published FireDAC.Stan.Param.pas FireDAC.Stan.Param TFDParam

Description

Indicates the type of the parameter the TFDParam represents.

The ParamType property specifies the type of the parameter the TFDParam represents, which can be:

Value Description

ptUnknown

Unknown or undetermined. Before executing a stored procedure, the application must set parameters of this type to another kind.

ptInput

Used to input a field value. Identifies a parameter used to pass values to a query or stored procedure for processing.

ptOutput

Used to output a field value. Identifies a parameter used by a stored procedure to return values to an application.

ptInputOutput

Used for both input and output.

ptResult

Used as a return value. Identifies a parameter used by a stored procedure to return an error or status value. A stored procedure can only have one parameter of type ptResult.