Data.DB.VarTypeToDataType
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: Data.DB |
Delphi
function VarTypeToDataType(VarType: Integer): TFieldType;
C++
extern DELPHI_PACKAGE TFieldType __fastcall VarTypeToDataType(int VarType);
Description
Returns the field type value that most closely corresponds to a Variant type.
Call VarTypeToDataType to infer the type of field component that should hold a value, given its Variant type. Use the VarType function to obtain a Variant type from a Variant.