LOTUSSCRIPT/COM/OLE CLASSES
Evaluates a Domino formula.
Note This method is new with Release 5.0.2b.
Note This method is supported in COM only.
Defined in
NotesSession
Syntax
variant = notesSession.Evaluate( formula$, doc )
Parameters
formula$
variant
The formula takes the field from the specified document.
@Functions that affect the user interface do not work in the Evaluate method. These include: @Command, @DbManager, @DbName, @DbTitle, @DDEExecute, @DDEInitiate, @DDEPoke, @DDETerminate, @DialogBox, @PickList, @PostedCommand, @Prompt, and @ViewTitle.
You cannot change a document with the Evaluate method; you can only get a result. To change a document, write the result to the document with a method such as NotesDocument.ReplaceItemValue.
Language cross-reference
evaluate method in Java Session class
Example