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.

relationship into a string

Featured Replies

Do you think it is possible to create a calculation that would string a related column of information into a field in the master record.

I am afraid that it will have to be a tedious script, but I thought I should pass it by the collective.

From this:

[Manufacture]

[Related Widget1]

[Related Widget2]

[Related Widget3]

To This:

[Manufacture][Widget1,Widget2, Widget3]

The result is for a final export that will publish a listing of manufactures and their products. A line return would take up to much space so that is why I need it all on one line.

If I understand you correctly, you simply want to remove the returns in a field, so you are listing items on one line with a comma to separate! This is easy! You can use a calculation or a script, but the trick here is to use the Substitute command. So, for example, you have a column of:

Apple

Orange

Pear

Grapes

In the field <FruitName>, and want to set the field <FruitLine> to the list without the returns.

Use the following:

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

SetField <FruitLine>

Substitute(<FruitName>, “ par.gif ”, “, “)

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

This will replace the returns with a comma and a space!

Hope this helps,

Rigsby

Assuming each related Widget is in a separate record in the related file...

First you need a value list that returns the related Widgets.

Next, a calc field that uses the ValueListItems formula.

Then, a calc field that strings the individual items from the previous calc field, replacing the paragraph marks with, say, commas (use the "Substitute" formula).

Now create a calc field that strings the Manufacturer, a semicolon (or whatever), and the final calc field.

HTH,

Dan

PS: If you want to add items from different related files, you will need to loop through the portal row, adding each item as you go!

  • Author

Thanks guys

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.