例: GetAllEntriesByKey method

次のスクリプトは、現在のデータベースの [By Category] ビューで「Spanish leather」カテゴリの全エントリを取得し、取得したエントリを [Boots] フォルダに入れます。

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