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.

Pause script and cancel

Featured Replies

If I press "cancel" after an "enter preview mode (with pause)" script step, the script stops. Is there any way to get it to perform an if statement. ( I tried : error capture/set global to last error/if global=1 … :but to no effect)

thanks for any help

John,

AFAIK, no--but I'm sure someone will prove me wrong. My only workaround is to split my scripts, with steps leading up to the preview in one script, and everything after it in a second script.

David

I think the best way is to make this the first step in your script:

Allow User Abort [Off]

Then there will be no Cancel button. If you want, give the user a choice to skip printing in a custom dialog - after continuing.

If you have Allow User Abort set to Off at the beginning of your script, a cancel button is never available. And even if Cancel is pressed on a Print dialog, the script will continue as usual.

I should have refreshed before posting.

  • Author

thanks guys

Hi, i got a problem with Allow User Abort [Off]. I have done a pop up layout, when i click no it will stop the script and close the pop up and remain to my main layout. But i cannot go back to go back to layout mode anymore or even closing the file. I need to off the whole filemaker program and reopen it again. i got no choice to use [On] then as i got no problem with it at all.

what actually happened..?

can someone help me with it...

thanks a lot...

Can you post the steps in your script?

Is it possible that you have a Pause in your script that is not showing because the status bar is hidden? I've seen that before.

Good point! If you press Enter on the number keypad or Ctrl-Return, does the script continue?

Hi, the last coding for the pop up is pause/resume. and my icon 'no' is close script. If i choose [on], everything will went fine... Sorry i will try your way on mon when im back in the office, then will update you guys again..

Thanks yeah..

Hi yeah thanks, if i used [Off] i not able to access to layout mode but really when i enter 'enter' i can choose layout mode already. But why? Why does it works this way? anyway i can juse choose layout mode if i wish to and not necessary to enter 'enter'??

thanks a lot..

You've been asked to list your script. Until we see it, we can't tell how to fix it because we don't know where it's broken. :wink2:

Can you take a moment to list your script steps?

LaRetta

Hi, I jus reliase I can actually attached up file =)

This is my 6th day learning to use filemaker, therefore number of doubts, really thanks a lot

Kelvin

Overseas_Travel_Report_FMP.zip

Your Yes and No buttons are set to Pause the currently running script, which is already paused. When you press Enter, the original script resumes.

Change the buttons to Halt the currently running script (double-click on them in Layout Mode and see the Options in the upper-right corner).

Hi Anomality, yeah it solved the problem. Thanks a lot =D

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.