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.

Capture Preview Cancel

Featured Replies

When running a script that goes into Preview mode and pauses, Filemaker offers two options in the status area: to Continue or Cancel. Is there any way to capture the Cancel in the same way as you might with the Cancel in a Message choice and Status(CurrentMessageChoice) function?

What I would like to do is have the script take the user back to the original layout if the Cancel button is pressed rather than dumping him or her on the layout in question. Hopefully, the user won't even think of using the cancel button but....

I would guess, unfortunately, that the Cancel button just runs the Halt Script step, and there is no way of getting around that, but maybe not?

Jake Sterling

If you add an Allow User Abort [Off] step to the beginning of your script, the Cancel button will not exist. You can then incorporate your own Cancel dialog.

Assuming that you are putting the user into Preview mode prior to actually printing it, here is a quick script:

Allow User Abort [off]

Set Error Capture [on]

Go to Layout [MyPrintLayout]

Print Setup [no dialog]

Enter Preview mode [pause]{could be indefinite or a set amount of time}

Print [] {with dialog}

Enter Browse mode

Go to Layout [original]

If the user clicks the cancel button on the print dialog box, they will still be taken back to the original layout. Whatever the user does, they are taken back to the original layout.

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.