I want to use the following code to force a choice. This code is a simple message box with a yes or no button. How do I know which button was pushed and how can I capture that to use in a simple "if" statement. If the user selects "yes", I want the code to do one thing, if "no" is selected, the code does something else.
Thanks,
Stan
xfa.host.messageBox("Do you want to issue Report?","Prompt",2,2);