Opens a database.
public boolean open()
throws NotesException
boolean
A database must be open to use the Database properties and methods with some exceptions. Most methods that access a database open it, but some do not. See isOpen for details.
An error is returned if the user does not have access rights to the database or server.
A Java application running on the same machine as a Domino server cannot open a local database from a local session. Use a remote (IIOP) session to access the database.
Open method in LotusScript NotesDatabase class
@DbExists function in formula language
See examples