例: IsTotal property

次のスクリプトは、[By Category] ビューの「Yearly Income」ビューエントリが合計値であるかどうか調べます。

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")
view.AutoUpdate = False
Set entry = view.GetEntryByKey("Yearly Income")
If entry.IsTotal Then
  Messagebox "This view entry is a total."
Else
  Messagebox "This view entry is not a total."
End If