Evaluates a Domino formula.
Note This method is new with Release 5.0.2b.
Note This method is supported in COM only.
variant = notesSession.Evaluate( formula$, doc )
formula$
String. The formula.
doc
NotesDocument. The formula context. Cannot be null.
variant
The result of the evaluation. A scalar result is returned.
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.
evaluate method in Java Session class
See examples