FORMULA LANGUAGE


SwitchView @Command
Switches to the specified view or folder within the current database or, if a view or folder is not specified, displays the View menu so the user can select a view.

Note This command is new with Release 6.

Syntax

@Command( [SwitchView] )

or

@Command( [SwitchView] ; viewName )

Parameters

viewName


Usage

This command executes immediately. Use the ViewChange @command to execute after all @functions. See the Order of evaluation for formula statements topic for more details.

This command doesn't work from within a document or form, so you cannot use it to view a document through another form. Use @Command([SwitchForm]) instead.

You can use this command in Web applications, but you must use the viewName parameter.

Language cross-reference

OpenView method of LotusScript NotesUIDatabase class

See Also