OpenDatabase (NotesUIWorkspace - LotusScript®)

Opens a database to a view that you specify.

Defined in

NotesUIWorkspace

Syntax

Call notesUIWorkspace .OpenDatabase( server$, file$[, view$][, key$][, newInstance][, temp] )

Parameters

server$

String. The name of the server where the database resides.

file$

String. The path and file name of the database.

view$

String. Optional. The name of the view you want to open. If you omit this parameter, the database opens to its default view.

key$

String. Optional. Indicates to which document you want to scroll when the view is opened. The key is a value that appears in the first sorted column of view$. If you omit this parameter, the caret will be placed at its default location for that view (which might be the beginning, the end, or a memorized position from your last visit).

newInstance

Boolean. Optional. Specify True if you want the view to open in a new window, even if there's already a window open for the database. If you specify False or omit this parameter, the new window is opened only when it's actually needed.

temp

Boolean. Optional. Specify True if you only want the database opened on a temporary basis for browsing, without adding the database to the user's workspace. If you specify False or omit this parameter, the database is added to the user's workspace.

Example