Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Cancel vs Continue in Preview Mode


This topic is 6368 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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 ].

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.