Examples: IsCategory property (NotesViewEntry - LotusScript®)

This script checks to see if the Breed view entry is a category in the By Category view.

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("Breed")
If entry.IsCategory Then
  Messagebox "This view entry is a category."
  Messagebox "This view entry is not a category."
End If