I have the following in the QuerySave event:
If statusval$ = "Accepted" Then
abortsave = Messagebox (question$,1,"Continue?")
Messagebox ( Cstr(abortsave) )
If abortsave = 2 Then
End
End If
End If
What I wanted was if the user clicks cancel, a document should not be saved. I’ve also tried “Exit Sub” however both result in the document still being saved. From what I read in designer help, it SHOULD end the querysave event and any events linked to it, however I guess I’m doing something wrong. This would be dead simple in formula (@Failure) but I need it in lotusscript (on that note, the cross reference for @Failure is “OnError” which really doesn’t perform the same function in lotusscript)