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.

Create text from field in found records

Featured Replies

We want to summarise data from all projects by a particular client by date range. I'm quite happy with the way I've managed to set that up. What I'm having trouble with is adding a list of the projects as one piece of text.

 

I can set up a script that finds all the relevant projects and exports the Project Name(s). And I think with a bit of messing about I could figure out how to import that to as one piece of text. (I can do it manually so I must be able to automate it!)

 

I'm pretty sure though, that there's a simpler way. I've played around with Merge Variables but I really don't think I'm getting it.

 

Any tips?

Not sure where you're going with this, but take a look at the List ( ). Another way is to loop thru the found set and build a list in a global (field or variable). Why do you need all the Project Names in one field?

You have a client table and a project table, right?

 

Create a global field StartDate, and another EndDate in clients. Create a relationship your client table and a TO of your project table:

clients::StartDate ≤ projectsTO::Date

clients::EndDate ≥ projectsTO::Date

clients::id = projectsTO::ClientID

 

Create a calculation field in clients  = List(projectsTO::ProjectName)

  • Author

You have a client table and a project table, right?

 

Create a global field StartDate, and another EndDate in clients. Create a relationship your client table and a TO of your project table:

clients::StartDate ≤ projectsTO::Date

clients::EndDate ≥ projectsTO::Date

clients::id = projectsTO::ClientID

 

Create a calculation field in clients  = List(projectsTO::ProjectName)

That works. Now I need one more tweak. 

 

Each project is on a separate line. I want them as a single block of text with line-breaks replaced by comma space (or some other separator). Any help on that?

  • Author

Figured last bit out using 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.