Examples: PutAllInFolder method (NotesViewEntryCollection - LotusScript®)

This script gets all of the entries in the category Fox in the By Category view and puts them in the Machines 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("Fox")
Call vc.PutAllInFolder("Machines")