B-Man Posted November 19, 2001 Posted November 19, 2001 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 Thanks for any help Brian
Ocean West Posted November 19, 2001 Posted November 19, 2001 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.
Ocean West Posted November 19, 2001 Posted November 19, 2001 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now