Examples: GetEntryByKey method

This script finds an entry in the By Category view with a column value that matches the specified key, Dogs, and puts it in the Puppies folder.

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