FORMULA LANGUAGE
A reserved word that is necessary when you are assigning values to fields that are stored in a document (as opposed to temporary fields). You can use FIELD to change the contents of an existing field or to create new fields.
You cannot use the FIELD reserved word within an @function. Use @SetField instead.
Syntax
FIELD fieldName := value ;
Caution When you use FIELD to create a new field in existing documents, make sure that you do not duplicate the name of a field that already exists.
In some cases, action formulas that don't evaluate to a result (for example, a button formula) return a "No Main or Selection expression in formula" error message. You can supply a value such as an empty string (""), or you could provide an expression at the end of the formula, as shown below:
SELECT @All
Usage
This reserved word is most useful in agent, button, hotspot, and action formulas. It does not work in column, selection, hide-when, window title, or form formulas.
Language cross-reference
ReplaceItemValue method of LotusScript NotesDocument class
replaceItemValue method of Java Document class
Example See Also