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.

Featured Replies

Hi,

Is it possible (if so how ?) to have a calculation field result in the concatenation of the text contained in one field of every portal row ?

Just to make sure I am being clear I will give you an example:

I have an office DB (containing all of the company's offices) and a related employee DB (containing all the employees of all the offices).

In the office DB there is a portal showing the employees of each specific office.

I am looking for a text calculation within the office DB that will result in a list of all the employees of this office with a carriage return in between each employee.

I know how to do this with a script and I know I can achieve something similar with a whole bunch of relationships, I'm looking for a calculation that will do that.

Thank you !

How about defining a value list "Employees" of all values in field from related file, and then defining calc c_AllEmployees:

ValueList(Offices.fp5, Employees)

I think this could work for you.

-Raz

  • Author

Following the tradition of answering my own questions... (at least the tip is available to others laugh.gif)

I have found a way of doing just that !

- Create a value list using values from field

- Set the value list to use "only related values from" and select the relationship (in my case "employees")

- Then create a text calculation field with the following code: ValueListItems( "Offices.fp5", "employees").

- In "storage options" select "Do not sotre calculation result -- calculate only when needed"

Voila !

  • Author

Razumovsky, you are faster than me! Good thinking laugh.gif

But it doesn't work unless you specify not to store the calculation result.

Thanks for the help.

  • Author

Minor update.

Only the first 253 characters of each text field (each portal row) will be returned by the calculation.

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.