Examples: GetAllEntriesByKey method

This script gets all the entries in the category "Spanish leather" in the By Category view of the current database, and puts them in the Boots 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")
Set vc = view.GetAllEntriesByKey("Spanish leather", False)
Call vc.PutAllInfolder("Boots")