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.

Portal redord delete

Featured Replies

I have a portal set up and a buttom on each line of the protal that is scripted to delete the row.

The window that is displayed when the delete script is run is titled FileMaker Pro and indicates "Permanently delete this one related record?"

How do I gain control over the contents of this window so that I can title it and use my own description?

Macs don't see window titles on alert messages, but as for the contents:

make a script using the Show Message command. You'll also want to use the Status(CurrentMessageChoice) function, the online help has the details.

Beep

Show Message [ "Delete this portal row?", Cancel, OK ]

If [ Status (CurrentMessageChoice) = 2 ]

Delete Portal Row [ no dialog ]

End If

The Show Message step has two buttons: first is Cancel, second is OK (or Delete if you prefer). Button 1 is always default, and it's customary on interface design not to make the default button perform an action that does damage that cannot be reversed -- like delete a record.

  • Author

Vaughn

Your script worked great!

One point... when I select OK another window now pops up that asks "Permanently delete this one related record?"

Can I eliminate this window?

  • Author

Vaughn

I figured out how to kill the second window...

Is it possible to gain control over the title of the "Message" window. I would like the name of my DB to be the title instead of "Message."

Thanks!

The second alert (they are called "alerts" or "dialogs" not "windows") is suppressed by the "no dialog" option in the "Delete Portal Row [ no dialog ]" script step.

No, the title of the "Show Message" alerts cannot be named.

  • Author

I saw a contacts db today that was developed by Lupien consulting in New York and the "Show Message" windows in the program have been renamed...

There are hundreds of plugins available I suppose which will generate a InputBox (VIsual basic) or prompt(Java script) - in order for you enter a input and then use it. Messagebox or alert is not a problem at all.

So, for custom controlled message box look into filemaker website's plugin section. There are lot of free plugin's available as well. If you don't like plugins - another way is to have a separate layout where you show the message with buttons like Yes/No, OK/Cancel etc .

Regards,

simon1663

[ February 10, 2002, 10:23 PM: Message edited by: simon1663 ]

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.