IsValid (NotesViewEntry - LotusScript®)

Read-only. Indicates whether a view entry is a valid entry.

Defined in

NotesViewEntry

Data type

Boolean

Syntax

To get: flag = notesViewEntry .IsValid

Legal values

  • True indicates that the view entry is valid.
  • False indicates that the view entry is not valid.

Usage

If a document is deleted after a ViewEntryCollection containing that document is created, the result of navigating to the deleted document is a ViewEntry that can be used to navigate to the next entry, but nothing more. All of the properties or methods on this type of ViewEntry, except IsValid, return an error. If you are sure that none of the documents in a ViewEntryCollection have been deleted, you don't need to check this property; otherwise, it should be checked.

Example