Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7398 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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 & "

Posted

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(

"

Posted

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

Let( S = Substitute(

This topic is 7398 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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