Skip to content

TParam.ParamType

Type of parameter.

Declaration

Source position: db.pas line 1500

published property ParamType: TParamType;

Description

ParamTyp specifies the type of parameter: is the parameter value written to the database engine, or is it received from the database engine, or both ? It can have the following value:

ptUnknown
Unknown type.
ptInput
Input parameter.
ptOutput
Output parameter, filled on result.
ptInputOutput
Input/output parameter.
ptResult
Result parameter.

The ParamType property is usually set by the database engine that creates the parameter instances.

See also

Name Description
TParam.DataType Data type of the parameter.
TParam.DataSize
TParam.Name Name of the parameter.