例: GetEntryByKey method

次のスクリプトは、指定されたキー「Dogs」と一致する列値を持つエントリを [By Category] ビューで検索し、[Puppies] フォルダに入れます。

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim entry As NotesViewEntry
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
Set entry = view.GetEntryByKey("Dogs")
Call entry.PutAllInFolder("Puppies")