LOTUSSCRIPT/COM/OLE CLASSES
Sub Onblur(Source As Field) Dim ws As New NotesUIWorkspace Dim uidoc As NotesUIDocument Set uidoc = ws.CurrentDocument If uidoc.FieldGetText("Subject") = "" Then uidoc.GotoField("Subject") Print "Subject cannot be blank" Else Print "Subject: """ & uidoc.FieldGetText("Subject") & """" End If End Sub
See Also