LOTUSSCRIPT/COM/OLE CLASSES

Views property
Example

Read-only. The views and folders in a database.

Defined in

NotesDatabase

Data type

Array of NotesView objects

Syntax

To get: notesViewArray = notesDatabase.Views

Usage

Each element of the array is a NotesView object representing a public view or folder in the database. If the database is local, personal folders are also included.

To set the value of an individual NotesView object, you need to access the array elements individually. For example, to get the first element in the array returned from the NotesDatabase object db, you could do the following:

Dim view as NotesView
Set view = db.Views( 0 )

The database must be open to use this property.

Language cross-reference

Views in Java Database class

Example
See Also