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.
@Command( [ViewChange] )
or
@Command( [ViewChange] ; viewName )
viewName
Text. Optional. The name of the view or folder you want to switch to.
This command executes after all @functions. Use @Command([SwitchView]) to execute immediately. 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 SwitchForm instead.
You can use this command in Web applications, but you must use the viewName parameter.
@Command([ViewChange]; "By Author")
OpenView method of LotusScript® NotesUIDatabase class