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.

Deleting a foriegn ID from a multi-key relation

Featured Replies

I have a solution that uses a ID to Multi-Key ID relationship. I want to be able to delete the foriegn ID and break the relationship. I use the Replace script step with a calculated substitue:

Substitute(Device Software MULTI KEY::MultiKey Device ID;

Ttpro 7::g_Device ID & "

I do this in two steps: the first replaces the key with a blank line; the second removes the blank line from the multikey. The trick is to ensure that all the multikey values are paragraph delimited. You do this by adding a paragraph to the beginning and end of the multikey string. You also need to ensure the key to remove is paragraph delimited. This makes sure you substitute whole keys only, and not partial key strings.

I usually do these substitutions with Set Field steps in a script.

First step:

Substitute(

"

  • Author

Thanks Vaughan! That did the trick.

You can also nest these substitutions and trim the beginning and ending pilcrows in one step, if you like.

Let( S = Substitute(

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.