[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'DB' (#fcl)

# TParam.ParamType

Type of parameter

## Declaration

Source position: db.pas line 1279

`published property TParam.ParamType : TParamType read FParamType write FParamType;`

## 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

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