Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






Evaluate method

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$

String. The formula.

doc

NotesDocument. The formula context. Cannot be null.

Return value

variant

The result of the evaluation. A scalar result is returned.

Usage

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

See examples

Examples: Evaluate method




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009