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

Fields, portals and iPods


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

Recommended Posts

Posted

Can I combine the data from portal rows to fill one ordinary field?

I have two tables linked by a one-to-many relationship. Records in the one table show related records from the other in a portal. Ideally I want to export the records from the one table with a new field combining the data from the relevant portal rows. (Once reduced into this flat file kind of format, the data can then be exported for use on my iPod.)

Thanks

Wingnutt

Posted

One suggestion would be to use a script that would perform a GTRR (Go to Related Record) step and then loop through all the records while doing a concat then copy this value to the main record.

In other words:


Go to Related Record [show only related records

Set Variable [$concat; Table2::fieldName]

Loop

Go to Record [Next; Exit After Last]

Set Variable [$concat; $concat & ¶ & Table2::fieldName]

End Loop

Go to Layout [Original Layout]

Set Field [TableA::NewField; $concat]



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