June 9, 200718 yr Within a script, how do I create a "cancel" button/option in the status area while previewing a report? I do see the "continue" button/option there as a result of the Enter Preview Mode (paused) script step. I want the user to be able to preview the document and print, or preview the document and continue (taking them back to the layout where the script originated), or preview and cancel (stay on same layout in browse mode) where I have a navigation button to a different layout than the original. I can't find anything in scripts that will allow me to do this. Here is the script midway from the perform Find step to the Enter Preview Mode step... Perform Find [] Go to Layout ["Report" (Report Table)] Show/Hide Status Area [show] Sort Records [Restore; No Dialog] Go To Record/Requet/Page [First] Enter Preview Mode [Pause] TIA
June 9, 200718 yr Why don't you present the choices to the user using a Custom Dialog [] step? Then you can branch your script using If [ Get ( LastMessageChoice ) = x ].
Create an account or sign in to comment