CreateDatabase (NotesDbDirectory - LotusScript®)
Creates a new database, using the server and file name that you specify.
Note: This method is new with Release 5.0.2b.
Note: This method is supported in COM only. For LotusScript®, use Create in
NotesDatabase.
Defined in
Syntax
Set notesDatabase = notesDbDirectory .CreateDatabase( dbfile$ [ , open ] )
Parameters
dbfile$
The file name of the new database.
open
Boolean. True (default) to open the database.
Return value
notesDatabase
The newly created database.
Usage
If you do not open the database, only a subset of its properties is available. See IsOpen in NotesDatabase.
This method raises ERR_NOTES_ERROR2 (error 0FA5) if the database already exists.
Because the new database is not based on a template, it's blank and does not contain any forms or views.