LOTUSSCRIPT/COM/OLE CLASSES
Sub Click(Source As Button) Dim workspace As New NotesUIWorkspace Dim uidoc As NotesUIDocument Dim choice As String Set uidoc = workspace.CurrentDocument choice = Inputbox( "Do you want to delete " + _ uidoc.WindowTitle + "?","" ) If ( choice = "yes" ) Or ( choice = "y" ) Then Call uidoc.DeleteDocument End If End Sub
See Also