例: Document property

次のスクリプトは、[By Category] ビューの「Cars」ビューエントリに関連付けられている文書を取得し、その文書を [Machines] フォルダに入れます。

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim entry As NotesViewEntry
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
view.AutoUpdate = False
Set entry = view.GetEntryByKey("Cars")
Set doc = entry.Document
Call doc.PutInFolder("Machines")