Examples: GetPosition method

This script returns the position of the view entry Cars in the hierarchy of the By Category view and displays it as a message.

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("Cars")
Messagebox entry.GetPosition(" . ")