Examples: NotesViewEntryCollection class
- This script gets a collection of view entries under the category
Baseball in the By Category view, and uses the PutAllInFolder method
to place them in the Sports folder.
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim vc As NotesViewEntryCollection
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
view.AutoUpdate = False
Set vc = view.GetAllEntriesByKey("Baseball")
Call vc.PutAllInFolder("Sports")
- This script uses the GetNthEntry method to retrieve the third
entry from the view entry collection.
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim entry As NotesViewEntry
Dim vc As NotesViewEntryCollection
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
view.AutoUpdate = False
Set vc = view.GetAllEntriesByKey("Books")
Set entry = vc.GetNthEntry(3)
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.