FORMULA LANGUAGE


OpenView @Command
Example

Opens the specified view in the current database.

Syntax

@Command( [OpenView] ; viewName ; key ; newinstance )

Parameters

viewName


key
newinstance
Note The view must be sorted in order for the key to work; otherwise, no document is selected when the view opens. The key column must be the first sorted column when multiple sorted columns are present.

Usage

You can use this command in Web applications.

If you specify the newinstance parameter for @Command([OpenView]), the @SetTargetFrame function is ignored.

If you do not specify a viewName then the last view is the one that will open in the specified targetframe of @SetTargetFrame.

To open a view that is embedded on a page or form, use @Command([OpenPage]) or @Command([OpenDocument]) respectively.

Language cross-reference

OpenView method in LotusScript NotesUIDatabase class

Example
See Also