November 19, 200124 yr 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
November 19, 200124 yr 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.
November 19, 200124 yr 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.
Create an account or sign in to comment