DAO Object
 
Sets or returns a value that indicates the operational type or data type of an object. Read/write Integer.
 

Syntax

expression .Type
expression A variable that represents a Property object.
 

Remarks

The setting or return value is a constant that indicates an operational or data type. For a Property object, this property is read/write until the object is appended to a collection or to another object, after which it's read-only.
 
For a Property object, the possible settings and return values are described in the following table.
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
 
When you append a new FieldParameter, or Property object to the collection of an IndexQueryDefRecordset, or TableDef object, an error occurs if the underlying database doesn't support the data type specified for the new object.