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" )
Véase también
GetView method
Glosario
¿Desea opinar sobre la
Ayuda
o sobre la
utilidad del producto
?
Ayuda sobre la Ayuda
Todo el contenido de la Ayuda
Glosario