LOTUSSCRIPT/COM/OLE CLASSES

GetView method
Example

Finds a view or folder in a database, given the name or alias of the view or folder.

Defined in

NotesDatabase

Syntax

Set notesView = notesDatabase.GetView( viewName$ )

Parameter

viewName$


Return value

notesView


Usage

If the database is local, GetView returns both public and personal views and folders. If the database is on a server, GetView returns only public views and folders.

When specifying the viewName$ parameter, do not use the view name and its alias together: for example, specifying "By Author|AuthorView" does not work. Use either the view name ("By Author") or its alias ("AuthorView").

When the view or folder name contains underscores to indicate menu accelerators, you have the option of either including or excluding the underscores. The method works more efficiently, however, if you include the underscores.

Language cross-reference

getView method in Java Database class

Example
See Also