Domino Code Fragment

Code Name*
List Optimization
Date*
04/29/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.13.58.121.131
Description*
Lists are one of the most powerful features in Domino. Here's an optimization technique. Instead of this formula:
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
This technique works with any data type, not just text. However it doesn't work when one of the list items are null ("") as in Field = "Five" : "" : "Two".
Files/Graphics attachments (if applicable): Code:

@If(Field = "One" | Field = "Two" | Field = "Three"; @True; @False)

Use this formula:

@If(Field = "One" : "Two" : "Three"; @True; @False)