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" )
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.