Data.DB.TParam.DataType

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TParam

Delphi

property DataType: TFieldType read GetDataType write SetDataType;

C++

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

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