Jump to content

concatenating related records into single field


climbd
 Share

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

Recommended Posts

  • Newbies

I'm not sure if this is best handled by a portal, or other means, but I'll describe what I have and want to do...

I have a one to many relationship between two tables.

The "many" relationship is a list of options... so to be really simple we'll say I have 3 related records giving different color options...

Red.

Blue

Yellow

Now, instead of having them listed in three different portal rows, I would like them concatenated to read:

"Red OR Blue OR Yellow"

These color options are really simplified, for the example, they could be full sentences. In MySQL, the equivalent would be GROUP_CONCAT...

Any advice would be appreciated Thanks!

Link to comment
Share on other sites

This topic is 4367 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
 Share

×
×
  • Create New...

Important Information

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