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






IsOpen property

Read-only. Indicates whether a database is open.

Defined in

NotesDatabase

Data type

Boolean

Syntax

To get: flag = notesDatabase.IsOpen

Legal values

Usage

A database must be open to use the NotesDatabase properties except the following: DelayUpdates, DesignTemplateName, FileName, FilePath, IsOpen, IsPrivateAddressBook, IsPublicAddressBook, Parent, ReplicaID, Server, Size, SizeQuota, SizeWarning, TemplateName, and Title.

The following do not open a database: NotesDbDirectory.GetFirstDatabase, NotesDbDirectory.GetNextDatabase, and NotesSession.AddressBooks. You must explicitly call NotesDatabase.Open.

If a NotesDatabase object must be open but is not, the following error occurs: "Database has not been opened yet." This error does not occur when the NotesDatabase is created, but later when the attempt to use it occurs. Possible causes of the error are: the database as specified does not exist; the user does not have permission to access the database; the database is damaged.

Language cross-reference

IsOpen in Java Database class

See examples

Examples: IsOpen property
Related topics
Handling run-time errors




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009