LOTUSSCRIPT/COM/OLE CLASSES
Examples: Views property
1. This script displays the names of all the views and folders in the current database.
Dim session As New NotesSession
Dim db As NotesDatabase
Set db = session.CurrentDatabase
Forall v In db.Views
Messagebox( v.Name )
End Forall
2. This script uses the Views property to find the default view of the current database and assign it to the view object.
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Set db = session.CurrentDatabase
Forall v In db.Views
If v.IsDefaultView Then
Set view = v
Exit Forall
End If
End Forall
See Also
Views property
Glossary
Feedback on Help?
Help on Help
Open Full Help Window
Glossary
Feedback on Help?
Help on Help
Open Full Help Window