Jump to content

Cancel Printing


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

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 7277 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
 Share

×
×
  • Create New...

Important Information

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