@Prompt(OKCANCEL) - Myth?

:slight_smile: I would like an OK/CANCEL @Prompt… no such thing? If no, how would I cause a YESNO @Prompt to stop evaluating? If user hits NO, the formula should stop. No would be 0, correct?

Subject: @Prompt(OKCANCEL) - Myth?

From Notes Help

YesNo Allows user to make a Yes/No decision Title and prompt; Yes and No buttons 1 (True, Yes) or 0 (False, No).

YesNoCancel Allows user to make a Yes/No decision, or Cancel Title and prompt; Yes, No, and Cancel buttons 1 (True, Yes), 0 (False, No), or -1 (Cancel).

_choice:=@Prompt([YesNo]; “Send memo?”; “This memo will be sent to everyone listed in the To, CC, and BCC fields.”);

@if(_choice=0;@return(“”);“”);

@Prompt([ok];“Prompt”;“User selected Yes”)

… your code goes here if uoser selects Yes

@return(“”) stops executin code after it.

Subject: RE: @Prompt(OKCANCEL) - Myth?

Many thanks… have a great day.