Domino Code Fragment

Code Name*
Toggling Values using a Button
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.3.145.60.166
Description*
The following formula allows you to "toggle" between values using a button. For example, a field that displays either a yes or no value is a good use of this technique. See the formula below using a Yes/No example:
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
The results, pressing the button assigns the value "No". Press the button again assigns the value "Yes".
Files/Graphics attachments (if applicable): Code:
temp := field name;
temp1 := "field name";
@If(temp = "Yes"; @SetField(temp1; "No"); @SetField(temp1; "Yes"))