Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






open method

Opens a database.

Defined in

Database

Syntax

public boolean open()

throws NotesException

Return value

boolean

Usage

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.

Usage

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.

Language cross-reference

Open method in LotusScript NotesDatabase class

@DbExists function in formula language

See examples

Examples: IsOpen property
Related topics
Opening a database
NotesError and NotesException classes




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009