Navigation:  Functions > Enum Functions >

DaoDatabaseTypeEnum() Function

Previous pageReturn to chapter overviewNext page

Purpose

Returns a 2-dimensional array with all the values of the Database Type Enum.

 

Description

Every row in this array has 2 values:

The numeric value of the Enum value
A text representation of this value

 

This array can be used to validate values, and to print a ,meaningful description of the values during debugging

You can pass this array tro the DaoEnum2Str() function to convert the value of an Enum to a string

 

Constant Description
dbEncrypt Creates an encrypted database.
dbVersion10 Creates a database that uses the Microsoft Jet database engine version 1.0 file format.
dbVersion11 Creates a database that uses the Microsoft Jet database engine version 1.1 file format.
dbVersion20 Creates a database that uses the Microsoft Jet database engine version 2.0 file format.
dbVersion30 (Default) Creates a database that uses the Microsoft Jet database engine version 3.0 file format (compatible with version 3.5).

 

Returns

Array

 

See Also

DaoEnum2Str()

DaoDbEngine:CreateDatabase()

DaoWorkspace:CreateDatabase()