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

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

Recommended Posts

  • Newbies
Posted

Hello!

I have a file with three tables:

First Names | Middle Initials | Last Names

I am trying to output every combination of one field from each table. Specifically, formatted like so:

<record>

<first>John</first>

<middle>A.</middle>

<last>Doe</last>

</record>

I believe this should be done using the null relationship (X) between each table. Then, using a script that loops through each record set and inserts the result into a global field in the first table. I've also thought about using counters and a layout with two portals to do the looping. I can successfully loop throught the first names and could setup a script for each name then eliminate duplicates, but I'd rather learn the right way to do it.

Does anyone have nested loop scripting experience they can share with me?

Here's how I loop through the first names:

screen08262004.gif

  • Newbies
Posted

My script is bloated with the unnecessary "go to related records" because I figured they would be necessary once I figured out how to loop through the other related records, btw. smile.gif

<added>and my actual script didn't use "select contents" on every insert... lol</added>

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