I figured it out. This is how you do it for anyone who is wondering...
Check := @If(@IsValid; 0; @Return(0));
@PostedCommand([FileSave]);
@PostedCommand([FileCloseWindow]);
Try this out...
Sub Initialize
On Error Resume Next
Dim dbSession As New NotesSession
Dim db As NotesDatabase
Dim curView As NotesView
Dim StatDoc As NotesDocument
Dim ExcelPath As String
Dim ExcelFileName As String
Dim MSAction As String
Dim path As...
I'm trying to use an Action button to set a field and then save and close the form I'm working on. My code is this...
@SetField("txtStatus"; "Closed");
@Command([FileSave]);
@Command([FileCloseWindow])
After I click the Action button, Lotus Notes still asks me if I want to save the document...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.