March 8, 200421 yr 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!!!!
March 8, 200421 yr 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
March 8, 200421 yr Author 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!!
Create an account or sign in to comment