例: PutAllInFolder method (NotesViewEntryCollection - LotusScript®)

次のスクリプトは、[By Category] ビューの「Fox」カテゴリのすべてのエントリを取得し、それらを [Machines] フォルダに入れます。

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")