LOTUSSCRIPT /COM/OLE のクラス
Sub Exiting(Source As Field) Dim workspace As New NotesUIWorkspace Dim uidoc As NotesUIDocument Set uidoc = workspace.CurrentDocument Call uidoc.Refresh End Sub
たとえば、次のスクリプトは、ユーザーが [Group] フィールドから移動すると必ず実行されます。[Supervisor] が計算結果フィールドであり、次の式が設定されているとき、
@If( Group = "Editorial"; "Stephanie Mavis"; _ Group = "Graphic Design"; "David Mayar"; _ Group = "Production"; "Peter Orveton"; "" )
ユーザーが [Group] フィールドから移動すると [Supervisor] フィールドの値が再計算されます。
関連項目