Hello Notes Gurus,I have a little lotusscript that returns the value of a lookup and displays a message if the value is blank.
If the value is blank I need to exit and close the document without saving.
I have been trying a couple different ways with SaveOption field and Continue = false but nothing seems to work.
Any help is always appreciated
If lookupDoc.Manager(0) = “” Then
Msgbox "Error locating " + Cstr(doc.ReportTo(0)) + "’s manager name in the person document of the Domino Directory." + Chr$(13) + Chr$(13) + "Approval hierarchy will be incomplete." + Chr$(13) + Chr$(13) + "Please contact MIS at 773-292-7599." ,0 + 48, "Manager Lookup Error"
Call uidoc.Save
doc.SaveOptions="0"
Call uidoc.Close
Continue = False
Exit Sub