So this may appear as a fairly straight forward process. But i want to Prompt for a Yes No option and based on whether the user clicks Yes or No i want an agent to run.
Heres my code.
tmpValue := @Prompt([YesNo]; “Suspension?”; “Will employee be suspended pending enquiry?”);
Would you believe me if i told you i tried the 1 with and without “” and it still returned nothing. I walk in this morning and rerun the form and waallaa… it works. Im so over notes (came from a .net background)
However, not that I’m going to worry you, but @Formulas are about the most reliable and rock solid thing you will come across in Notes. Must have been deadly .net-rays interfering.