DB.TParam.DataType
From RAD Studio VCL Reference
Contents |
Delphi Information
From DB.pas
property DataType: TFieldType read GetDataType write SetDataType;
Unit: DB
Type: property
Visibility: published
Member Of: TParam
C++ Information
From DB.hpp
__property Db::TFieldType DataType = {read=GetDataType,write=SetDataType};
Unit: DB
Type: property
Visibility: public
Member Of: 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 Samples
- FetchParams (Delphi)
- FetchPooler (Delphi)
- TParamsItems (Delphi)
- FetchParams (C++)
- TParamsItems (C++)