createQueryView (NotesDatabase - JavaScript™)
Creates a query view.
Defined in
NotesDatabaseSyntax
createView(viewname:string, formula:string) : NotesView
createView(viewname:string, formula:string, templateview:NotesView) : NotesView
createView(viewname:string, formula:string, templateview:NotesView, prohibitdesignrefreshmodifications:boolean) : NotesView
Parameter | Description |
---|---|
viewname |
A name for the view. Defaults to the "(untitled)" view. The view is created even if this name duplicates an existing view. |
formula |
An SQL query selection formula. This formula overrides the selection formula of the template view. |
templateview |
An existing view from which the new view is
copied. Defaults to either:
Note: The template view cannot be of type "Shared, desktop private
on first use." |
prohibitdesignrefreshmodifications |
|
Return value | Description |
---|---|
NotesView |
The new query view. |
Usage
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 cannot be a private view stored in the desktop.Language cross-reference
CreateQueryView method in LotusScript® NotesDatabase class
createQueryView method in Java™ Database class