CdbField::SetType, GetType Property

Sets or returns a value that indicates the data type of an CdbField object.

Syntax

VOIDSetType(SHORT s);

SHORTGetType(VOID);

Set Parameters

Type Example Description
SHORT s An integer with one of the values shown in Remarks.

Remarks

The following are valid data types.

Constant Description
dbBigInt Big Integer
dbBinary Binary
dbBoolean Boolean
dbByte Byte
dbChar Char
dbCurrency Currency
dbDate Date/Time
dbDecimal Decimal
dbDouble Double
dbFloat Float
dbGUID GUID
dbInteger Integer
dbLong Long
dbLongBinary Long Binary (OLE Object)
dbMemo Memo
dbNumeric Numeric
dbSingle Single
dbText Text
dbTime Time
dbTimeStamp Time Stamp
dbVarBinary VarBinary