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.

allow user abort not working

Featured Replies

I start my scripts with 'allow user abort off' but I have just noticed that the user can press esc (windoze) and the script DOES stop.

Anyone any ideas?

TIA

Phil

This shouldn't happen. Can you post an example of one of the scripts that doesn't work, preferably in an example file so we can replicate the problem.

Also, make sure you are running 8.0v3 which you can download for free at:

http://www.filemaker.com/support/downloads/index.html

  • Author

Thanks for replying.

I have v3 installed.

At your suggestion I prepared a simple file for investigation. On testing this file I was puzzled by somewhat erratic results. Sometimes the esc worked. sometimes it didn't. I have eliminated a hardware problem by trying on another machine.

I am going to do a little more digging and will get back to you when I have a more to go on

Thanks again

Phil

Hi Phil,

I don't know if this will work. I have not tried this function before, but... Get(AllowAbortState) is supposed to return the current state (ie. 0=off & 1=on). Set up a unstored field with this function as it's calculation and watch in the data viewer as the script executes.

It's worth a try. Different get functions behave differently in a network environment, but could not see any mention of how this would behave. At least, if it works, you can see if the value changes during your script. If you get a null value then the host has returned it, according to the documentation (as I read it). Let me know how it goes.

HTH

Tim

  • Author

Good thinking Batman!

That will def help with the investigation.

I will get back to you with the results but it might take a little while cos I threw my pc out the window in frustration.......only kidding......I could have hurt a passing stranger if I threw it out the window .......so I SMASHED IT WITH A HAMMER!!!!!!!! :

Nah, not really but I did move on to other areas cos I was getting a bit stressed so I will get back to you when I have had enough counselling to the face the issue again :tongue2:

Regards and thanks for the idea

Phil

  • 2 weeks later...
  • Author

OK Round 2,

Can anyone explain the purpose of, or need for, the second allow abort off step in the following extract from the online help file,

[color:blue]Allow User Abort [Off]

[color:brown]Go to Layout ["Welcome"]

Pause/Resume Script [Duration (seconds)??? 3]

Go to Layout ["Data Entry"]

Allow User Abort[Off]

Further to that is there a default setting for Allow user abort and if so can it be changed?

TIA

Phil

It's a typo. It should read:

Allow User Abort [Off]

Go to Layout ["Welcome"]

Pause/Resume Script [Duration (seconds)??? 3]

Go to Layout ["Data Entry"]

Allow User Abort[On]

# more steps here that the user CAN abort

The default setting is to allow the user to abort. AFAIK, it cannot be changed, and turning it off only lasts until the end of current script (and its subscripts) or until turned on again, whichever comes sooner.

  • Author

Thanks comment

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.