LOTUSSCRIPT/COM/OLE CLASSES


CreateView method
Example

Creates a view.

Note This method is new with Release 6.

Defined in

NotesDatabase

Syntax

Set notesView = notesDatabase.CreateView( [ viewName$ ] , [ viewSelectionFormula$ ] , [ templateView ] , [ prohibitDesignRefreshModifications ] )

Parameters

viewName$


viewSelectionFormula$
templateView Note The template view can not be of type Shared, desktop private on first use.

prohibitDesignRefreshModifications

Return value

notesView


Usage

If no template view exists, the new view contains one column with "@DocNumber" as its value. The template view must be accessible to the program, so can be a public view or a private view owned by the effective id running the agent, but can not be a private view stored in the desktop.

Language cross-reference

createView method in Java Database class

@Command([CreateView]) function in formula language

Example