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

Multi-Line key, need calc to 'extract' related values.

Featured Replies

This could be one of those easy ones..?

Two tables.. I have a text field in the Product table, called mlfk_DepartmentIDs, which contains paragraph-delimited numerical Department IDs. That field is then used as the left side predicate of a relationship to the Department table, into the Department table's pk_DepartmentID field (its primary key field). Department table also has a text field called DepartmentName.

From the perspective of Product, I want to show a comma separated list of all DepartmentNames, for each department ID in that multi-line key field, mlfk_DepartmentIDs.

I am familiar with using a Join table, but I want to see if this can be solved with just a calculation of some sort. -I don't want to add more clutter to the graph just to benefit this one necessity. -There won't be more than a maximum 10-12 possible IDs, well below that 125-limit I read about (which probably doesn't matter here anyway).

 

Thanks!

Hi!

In Product table, create calculation (result is text) with:

Substitute ( List ( departments::departmentName ) ; ¶ ; ", " )

 

Edited by LaRetta

  • Author

Oh how it comes so easily for you. It's perfect. Thank you!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.