LOTUSSCRIPT/COM/OLE CLASSES


OpenDatabase method
Example

Opens a database.

Note This method is new with Release 5.0.2b.

Note This method is supported in COM only. For LotusScript, use Open in NotesDatabase.

Defined in

NotesDbDirectory

Syntax

Set notesDatabase = notesDbDirectory.OpenDatabase( dbfile$ [ , failover ] )

Parameters

dbfile$


open
Return value

notesDatabase


Usage

This method usually raises ERR_SYS_FILE_NOT_FOUND (error 0FA3) if the database does not exist. However, other errors may occur or the method may return an object with blank properties.

Language cross-reference

openDatabase method in Java DbDirectory class

Example