Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need "If" function for Print....

Featured Replies

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!!!!

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

  • 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

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.