DB.TParam.ParamType

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From DB.pas

	property ParamType: TParamType read GetParamType write SetParamType;


Unit: DB

Type: property

Visibility: published

Member Of: TParam

C++ Information

From DB.hpp

	__property Db::TParamType ParamType = {read=GetParamType,write=SetParamType};


Unit: DB

Type: property

Visibility: public

Member Of: TParam

Description

Indicates the type of the parameter the TParam represents.


Objects that use TParam objects to represent field parameters set ParamType to indicate how the parameter is used. ParamType must be one of the following values:



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.



See Also

Personal tools
Translations
Newest Version