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






OpenDatabase method

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, no document is selected.

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.

Language cross-reference

FileOpenDatabase @command in formula language

See examples

Examples: OpenDatabase method
Related topics
Accessing the current document in LotusScript classes




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009