LOTUSSCRIPT/COM/OLE CLASSES
Sub Exiting(Source As Field) Dim workspace As New NotesUIWorkspace Dim uidoc As NotesUIDocument Set uidoc = workspace.CurrentDocument Call uidoc.Refresh End Sub
For example, this script might run whenever the user exits the Group field. If Supervisor is a computed field with the formula
@If( Group = "Editorial"; "Stephanie Mavis"; _ Group = "Graphic Design"; "David Mayar"; _ Group = "Production"; "Peter Orveton"; "" )
the Supervisor field recalculates its value whenever the user exits the Group field.
See Also