lpm Posted June 9, 2007 Posted June 9, 2007 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
David Jondreau Posted June 9, 2007 Posted June 9, 2007 You need an Allow User Abort [On] in before the Preview mode.
comment Posted June 9, 2007 Posted June 9, 2007 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 ].
Recommended Posts
This topic is 6368 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now