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

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

Recommended Posts

Posted

I have a script that when ran will print different record from different layouts.

Goto record 1

Goto layout

Print (Show Print dialog)

Loop

Goto Next record (exit after last)

Goto Layout

Print (Do not show Print dialog)

Exit Loop

Is there a way to allow the user to hit Cancel in the Print dialog and have it Halt the script. I have played with Current error status and have gotten nowhere. This may be amazingly simple but I can not figure it out crazy.gif" border="0

Thanks for any help

Brian

Posted

Un check the "Do not show print dialog",

doing so the user will be prompted by the print dialog each time they wish to print. Which then you can trap for a user cancel.

Posted

If the first print request does allow for user cancel and they do cancel,

in your current setup they you get stuck with a second print...

Put your loop in an if statement that if the user cancels the first print that the the loop is canceled.

This topic is 8409 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.