Domino Code Fragment

Code Name*
4. Clear Button
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.18.116.62.45
Description*
This formula is the fourth 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, CLEAR, very simply clears the field ReaderList. It would not be necessary to have such a button, except that you cannot de-select ALL names in the multivalued list box shown by the EDIT button.
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:
REM "This formula is the fourth of a series -- for a set of four buttons:";
REM " SELECT, ADD, EDIT, and CLEAR";
REM "These are simple formulas but they allow you to have a multi-value";
REM " field showing a list of names (or of any text items) which you can";
REM " initialize by selecting, add to, edit, or clear.";
REM "The third button, CLEAR, very simply clears the field ReaderList.";
REM "It would not be necessary to have such a button, except that you";
REM " cannot de-select ALL names in the multivalued list box shown.";
REM " by the EDIT button.";
REM;
yesno := @Prompt( [YESNO]; "Clear Readers"; "Are you sure you want to clear the list of readers? ALL names in the field will be deleted."; ""; "" );
FIELD ReaderList :=
@If(
yesno;
"";
ReaderList
);
@All