Aragorn Posted March 8, 2004 Posted March 8, 2004 I need an If function for my Print command...When someone clicks the Print button it goes to Dialog then if OK is clicked it prints Layout 1 and then layout 2. Thants fine but if Cancel Print is selected on the Print Dialog Layout 1 is canceled but it continues to print layout 2...I need to stop layout 2 from printing also if Cancel is clicked.. Thx PS...You guys have been a Tremendous help!!!!
Echo33029 Posted March 8, 2004 Posted March 8, 2004 Aragorn, What you need is a script that looks something like: Set error capture on Go to layout 1 Print Setup (restore,no dialog) //this allows you to preset the print environment Print Setup() if (status(currenterror) = 0) Print(no dialog) // print layout 1 go to layout 2 Print (no dialog) endif Hope that helps
Aragorn Posted March 8, 2004 Author Posted March 8, 2004 Thx Echo!! That worked...I just needed to add the Go to Preview Mode command (which I forgot to mention in my first post) but it worked PERFECTLY!! Its this stuff I really need to learn about FMP...designing is fairly easy but these little tricks are what make the program really work!! Thank You!!
Recommended Posts
This topic is 7568 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