Open a local database through lotus script

Sorry, not a programer, this is all I know. Need a one line statement to open a local replica at a specific location.

Sub Click(Source As Button)

Dim session As New NotesSession

Dim db As NotesDatabase

End Sub

Subject: RE: Open a local database through lotus script

Dim session As New NotesSession	Dim db As NotesDatabase



Set db = New NotesDatabase("", "bookmark.nsf")

Since you started with a NotesSession, I assume by “open” you mean open in the back end, as opposed to open a new tab to view the database in, which would need a NotesUIWorkspace.

Hint: to ask a better question, you might mention what you know about the database you want to open and what exactly you’re trying to accomplish. Bookmarks is “a local database” but it might not be the one you intended.