RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DB.VarTypeToDataType Function

Returns the field type value that most closely corresponds to a Variant type.

Pascal
function VarTypeToDataType(VarType: Integer): TFieldType;
C++
TFieldType VarTypeToDataType(int VarType);

DB

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. 

 

VarType

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!