Jump 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.

Featured Replies

Is there any way to change the "dialog" that runs when a delete record button is pressed? I don't mind the initial "permanently delete this ENTIRE record? but when the user selects cancel, an annoying second message asks if they wish to continue with "this script?" The problem is, most of my users don't know what "this script" is so they aren't sure whether to cancel or continue.

I'd rather that after a message asked if they were sure they wanted to delete this record, the script would automatically resume (based on a cancel choice). I tried the 'show message' step followed by an if. I can get the record to delete by using 'status(current message choice) if they select Yes, but it also deletes if cancel is chosen.

Can anyone walk me through the 'else' half of this statement?

  • Newbies

Hi there,

Got an answer for your delete problem:

show message[delete record

IF ["status(current message choice)=1"]

Exit Script

End if

IF ["status(current message choice)=2"]

delete record/request [no dialog]

End if

NB: the status part is done as a calculation - try it

Stella

------------------

quote:

Originally posted by tmac:

Is there any way to change the "dialog" that runs when a delete record button is pressed? I don't mind the initial "permanently delete this ENTIRE record? but when the user selects cancel, an annoying second message asks if they wish to continue with "this script?" The problem is, most of my users don't know what "this script" is so they aren't sure whether to cancel or continue.

I'd rather that after a message asked if they were sure they wanted to delete this record, the script would automatically resume (based on a cancel choice). I tried the 'show message' step followed by an if. I can get the record to delete by using 'status(current message choice) if they select Yes, but it also deletes if cancel is chosen.

Can anyone walk me through the 'else' half of this statement?

The reason that you get the second message is that you have not turned on "Error Capture", thus the application is sending all error messages to the user.

Beginning of your scrip put the "Set Error Capture (On)" step, and at the end put "Set Error Capture (off)".

This will eliminate some of the messages and allow you to trap and deal with errors yourself.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Senior Filemaker Developer

http://www.database-resources.com

mailto:[email protected]

=-=-=-=-=-=-=-=-=-=-=-=-=

  • 4 weeks later...

Err, I thought he "Allow Abort" script step did this?

quote:

Originally posted by Vaughan:

Err, I thought he "Allow Abort" script step did this?

Allow abort allows the user the option of cancelling the progress of the script. That is it.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Senior Filemaker Developer

http://www.database-resources.com

mailto:[email protected]

=-=-=-=-=-=-=-=-=-=-=-=-=

Create an account or sign in to comment

Important Information

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

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.