LOTUSSCRIPT/COM/OLE CLASSES
Examples: GetView method
1. 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
2. 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" )
See Also
GetView method
Glossary
Help on Help
Open Full Help Window
Glossary
Help on Help
Open Full Help Window