Hi everyone!
I have the following @formulas in an action button:
FIELD ReqStatus:=1;
FIELD Self:=0;
@Command([FileSave]);@Command([FileCloseWindow])
Problem: when I press the button, it asks “Do you want to save your changes?”
Why?
Thanks in advance,
Dmitry.
Subject: “Do you want to save your changes?” - @FileSave problem
To get around this you should use Lotus Script.
something like:
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc=workspace.CurrentDocument
uidoc.EditMode=True
Call uidoc.FieldSetText(“you field name”,“the value you want”)
Call uidoc.Save
Subject: “Do you want to save your changes?” - @FileSave problem
@postedCommand([Filesave]);@postedCommand([Fileclosewindow]) at the end. this will solve your problem.
Cheers
Sri.