例: AllEntries property (NotesView - LotusScript®)

次のスクリプトは、現在のデータベースの [By Category] ビューの全エントリを取得して [Cat2] フォルダに入れます。

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.AllEntries
Call vc.PutAllInFolder("Cat2")