Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Combine records from a portal in one field


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

Recommended Posts

Posted

As the image below shows I have two databases: classes and packages. A package contains all the classes in the portal list.

fm.jpg

I need to flatten the file for a website, so I need one field in the packages db (selected in the image) that lists all the classes that come from the portal. I'd like to do this with a calculation instead of script, but I've been stuck on this problem for several hours. Anyone have a suggestion?

Posted

If you can concatenate the fields of each the related classes (the ones in each portal row) into one calc field, then you can make a VALUE LIST of related values, and you can use a calc field in your home file/table to manipulate that value list, which shows up by default as the list of values, sorted alphanumerically, with paragraph-returns between.

The function you'd need is ValueListItems(FileName;valueList)

A scan of other define-field posts about ValueListItems function may reveal more...

Posted

That was actually my first inclination and it worked to give me the list of all classes. I just couldn't get it to be restricted to only those classes showing in the portal. I'll go back and try that again though. Thanks.

Posted

Make sure you have "Show only related values" in your Value-List setup.

This topic is 7413 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.