Domino Code Fragment

Code Name*
3. Edit Button
Date*
04/29/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.3.145.54.199
Description*
This formula is the third of a series -- for a set of four buttons: SELECT, ADD, EDIT, and CLEAR. These are simple formulas but they allow you to have a multi-value field showing a list of names (or of any text items) which you can initialize by selecting, add to, edit, or clear. The third button, EDIT, calls up a multivalued list box to edit the field ReaderList.
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:
REM "NOTE: The [NoSort] option apparently allows you to get around the problem with";
REM " Notes 3 that the default for a multivalued list box did not work. Here all names";
REM " from the field appear highlighted in the list box!";

REM;
choices := @Prompt( [OKCANCELLISTMULT] : [NoSort]; "Edit Readers"; "Click to highlight or un-highlight the names you want to keep in the list of Readers. WARNING: Names NOT highlighted will be deleted."; ReaderList; ReaderList );
FIELD ReaderList := @Trim( choices );
@All