Domino Code Fragment

Code Name*
Editing a Document with a Button
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.3.145.143.239
Description*
Edit a document with a button, without entering into edit mode first. In order to create a button on a form that will do a complete edit of a document, as well as insert data into a field without first having to go into edit mode and save the document in read mode, follow these procedures:
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:
Button Formula

@SetEnvironment("FieldName"; Newvalue);
@Command([EditDocument]);
@Command([FileSave]);
@Command([FileCloseWindow])

Input Translation Formula (Field="FieldName")

@Environment("FieldName")