Show: Delphi C++
Display Preferences

Data.DB.VarTypeToDataType

From XE2 API Documentation
Jump to: navigation, search

Delphi

function VarTypeToDataType(VarType: Integer): TFieldType;

C++

extern PACKAGE TFieldType __fastcall VarTypeToDataType(int VarType);

Properties

Type Visibility Source Unit Parent
function public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

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.

See Also

Personal tools
Previous Versions
Translations