Examples: OpenDatabase method

This script opens the database PLAN.NSF in the NEW directory on the server Algiers. The database is opened to the All by Category view, scrolled to the category called Current®.

Sub Click(Source As Button)
  Dim workspace As New NotesUIWorkspace
  Call workspace.OpenDatabase _
  ( "Algiers", "new\plan", "All by Category", _
  "Current", False, False )
End Sub