CurrentDatabase (NotesUIWorkspace - LotusScript®)

Returns a NotesUIDatabase object representing the database that's currently open.

Note: This property is new with Release 5.

Defined in

NotesUIWorkspace

Data type

NotesUIDatabase

Syntax

Set notesUIDatabase = notesUIWorkspace.CurrentDatabase

Usage

The GetCurrentDatabase method supersedes this property due to the failure of the property when the user accesses the current database through View - GoTo (for example, on the workspace menu with the database selected).

Example