TurboDB VCL Component Library TTdbFieldDef.DataTypeTdb |
Previous Top Next |
Holds the native data type of the underlying field.
Delphi syntax:
type TTdbDataType = (dtUnknown, dtString, dtInteger, dtSmallInt, dtFloat, dtByte, dtBoolean, dtDate, dtMemo, dtEnum, dtAutoInc, dtLink, dtBlob, dtTime, dtRelation, dtDateTime, dtWideString, dtWideMemo, dtLargeInt, dtGuid); // dtGUID only available for Delphi 5 or higher
property DataTypeTdb: TTdbDataType;
C++ syntax:
enum TTdbDataType {dtUnknown, dtString, dtInteger, dtSmallInt, dtFloat, dtByte, dtBoolean, dtDate, dtMemo, dtEnum, dtAutoInc, dtLink, dtBlob, dtTime, dtRelation, dtDateTime, dtWideString, dtWideMemo, dtLargeInt, dtGuid}; // dtGUID only available for C++ Builder 5 or higher
__property TTdbDataType DataTypeTdb = {read=GetDataTypeTdb, write=SetDataTypeTdb, nodefault};
Check DataTypeTdb to find out the true native data type of the field. Set DataTypeTdb to create a table column using one of the non-standard TurboDB field types.