Name
| Required/optional
| Data type
| Description
|
---|---|---|---|
Name
| Required
| String
| A String up to 255 characters long that is the name of the database file that you're creating. It can be the full path and file name. If your network supports it, you can also specify a network path, such as "\\server1\share1\dir1\db1". You can only create Microsoft Access database files with this method.
|
Connect
| Required
| String
| A string expression that specifies a collating order for creating the database, as specified in Settings. You must supply this argument or an error occurs.
You can also create a password for the new Database object by concatenating the password string (starting with ";pwd=") with a constant in the locale argument, like this:
dbLangSpanish & ";pwd=NewPassword"
If you want to use the default locale, but specify a password, simply enter a password string for the locale argument:
";pwd=NewPassword"
Use strong passwords that combine upper- and lowercase letters, numbers, and symbols. Weak passwords don't mix these elements. Strong password: Y6dh!et5. Weak password: House27. Use a strong password that you can remember so that you don't have to write it down.
|
Option
| Optional
| Variant
| A constant or combination of constants that indicates one or more options, as specified in Settings. You can combine options by summing the corresponding constants.
|
Constant
| Collating order
|
---|---|
dbLangGeneral
| English, German, French, Portuguese, Italian, and Modern Spanish
|
dbLangArabic
| Arabic
|
dbLangChineseSimplified
| Simplified Chinese
|
dbLangChineseTraditional
| Traditional Chinese
|
dbLangCyrillic
| Russian
|
dbLangCzech
| Czech
|
dbLangDutch
| Dutch
|
dbLangGreek
| Greek
|
dbLangHebrew
| Hebrew
|
dbLangHungarian
| Hungarian
|
dbLangIcelandic
| Icelandic
|
dbLangJapanese
| Japanese
|
dbLangKorean
| Korean
|
dbLangNordic
| Nordic languages (Microsoft Jet database engine version 1.0 only)
|
dbLangNorwDan
| Norwegian and Danish
|
dbLangPolish
| Polish
|
dbLangSlovenian
| Slovenian
|
dbLangSpanish
| Traditional Spanish
|
dbLangSwedFin
| Swedish and Finnish
|
dbLangThai
| Thai
|
dbLangTurkish
| Turkish
|
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
| Creates a database that uses the Microsoft Jet database engine version 3.0 file format (compatible with version 3.5).
|
dbVersion40
| Creates a database that uses the Microsoft Jet database engine version 4.0 file format.
|
dbVersion120
| Creates a database that uses the Microsoft Access database engine version 12.0 file format.
|