FORMULA LANGUAGE


@Command
Executes a Lotus Notes/Domino command. Most of the standard menu commands can be executed using @Command. In addition, a number of specialized commands are available. In a formula, any command invoked using @Command runs in the order you specify in the formula. This means that any changes made by the command, such as inserting text into a field, affect the rest of the formula (see exceptions below).

Syntax

@Command( [ command ] ; parameters )

Usage

This function does not work in column, selection, hide-when, section editor, window title, field, or form formulas, or in agents that run on a server. It's intended for use in toolbar button, hotspot, and action formulas.

Exceptions

The commands listed in the Evaluated after all @functions column in the table below always execute after all the functions present in a formula are executed, which means that the action performed by a command cannot be used by a function that follows it in a formula. The commands listed in the Evaluated immediately column have the equivalent functionality to the corresponding Evaluated after all @functions commands, except they execute as soon as they are encountered in the formula.

Note The Evaluated as encountered commands are new with Release 6.

Evaluated after all @functionsEvaluated immediately
EditClearClear
EditProfileEditProfileDocument
FileCloseWindowCloseWindow
FileDatabaseDeleteDatabaseDelete
FileExitExitNotes
FolderFolderDocuments
NavigateNextNavNext
NavigateNextMainNavNextMain
NavigateNextSelectedNavNextSelected
NavigateNextUnreadNavNextUnread
NavigatePrevNavPrev
NavigatePrevMainNavPrevMain
NavigatePrevSelectedNavPrevSelected
NavigatePrevUnreadNavPrevUnread
ReloadWindowRefreshWindow
ToolsRunBackgroundMacrosRunScheduledAgents
ToolsRunMacroRunAgent
ViewChangeSwitchView
ViewSwitchFormSwitchForm

See Also