Examples: GetView method
- This script gets the Main View of the current database and prints
its title.
Sub Click(Source As Button) Dim session As New NotesSession Dim db As NotesDatabase Dim view As NotesView Set db = session.CurrentDatabase Set view = db.GetView( "Main View" ) If Not view Is Nothing Then Messagebox( view.Name ) End Sub
- This script gets the By Projects\By Author view of the current
database, but uses its alias to access it.
Dim session As New NotesSession Dim db As NotesDatabase Dim view As NotesView Set db = session.CurrentDatabase Set view = db.GetView( "Authors" )