CdbParameter::SetType, GetType Property

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

For a Microsoft Jet workspace this property is read-only, while in an ODBCDirect workspace it is read/write.

Syntax

VOIDSetType(SHORT i);

SHORTGetType(VOID);

Set Parameters

Type Example Description
SHORT i A Short with one of the values shown in Settings.

Settings

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