Data.DB.TParam.DataType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DataType: TFieldType read GetDataType write SetDataType;

C++

__property TFieldType DataType = {read=GetDataType, write=SetDataType, nodefault};

Properties

Type Visibility Source Unit Parent
property published
Data.DB.pas
Data.DB.hpp
Data.DB TParam

Description

Indicates the type of field whose value the parameter represents.

DataType is set automatically when a value is assigned to the parameter. Do not set DataType for bound fields, as that may cause the assigned value to be misinterpreted.

Read DataType to discover the type of data that was assigned to the parameter. Each possible value of DataType corresponds to a type of database field.

See Also


Code Examples