Sub Entering(Source As Field)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
Print( "Welcome to the " + uidoc.CurrentField + _
" field. Describe the problem." )
End Sub
Sub Exiting(Source As Field)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
Print( "Thanks for visiting the " + _
uidoc.CurrentField + " field.")
End Sub