Examples: DeleteEntry method
This script displays the number of documents in the view entry collection, then deletes the first entry and displays the number of documents remaining.
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim entry As NotesViewEntry
Dim vc As NotesViewEntryCollection
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
view.AutoUpdate = False
Set vc = view.GetAllEntriesByKey("Sale items")
Set entry = vc.GetNthEntry(1)
Messagebox "Count: " & vc.Count
Call vc.DeleteEntry(entry)
Messagebox "Count: " & vc.Count