Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






CreateView method

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$

String. Optional. A name for the view. Defaults to the "(untitled)" view. The view is created even if this name duplicates an existing view.

viewSelectionFormula$

String. Optional. A selection formula. Defaults to either:

If specified, this formula overrides the selection formula of the template view.

templateView

NotesView. Optional. An existing view from which the new view is copied. Defaults to either:

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

prohibitDesignRefreshModifications

Boolean. Optional.

Return value

notesView

The new view.

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

See examples

Examples: CreateView method




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009