Show Custom Dialog.
Follow that with an If, and check get ( lastmessagechoice ) to see which button they clicked.
It isn't necessarily a matter of experience.
Did you read the manual?
Your script won't work. Close; but that is not how FileMaker handles dialog results.
Unfortunately, FileMaker has not released FileMaker 14 help as a standalone PDF. Though they did that for FileMaker 13.
But over in that other place (FMForums) somebody has done FileMaker's job for them, and FileMaker 14 help is available.
Please take a look at that. And take a careful look at exactly how "Show Custom Dialog" works.
Or look here:
Thank you Bruce for leading me to the answer. I now understand the options are numbers not names in the script. Took some searching but I got there. Thanks again.
thank You very much for that link!