@Command (Formula Language)

Executes a 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).


@Command( [ command ] ; parameters )


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


The commands listed in the Evaluated after all @functions column in the table (as follows)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.