PDA

View Full Version : Looping through multiple levels of Record Lists


jwolff
10-02-2003, 23:00
I run into this issue all of the time and I never remember how I solved it last.

I have the following record structure:

Rec
RecList1
RecList2
RecList3

I want to loop over RecList3 and specify index 0 for RecList1 and RecList2. So I specify the following in my LOOP in-array:

/Rec/RecList1[0]/RecList2[0]/RecList3

In the MAP step inside the LOOP, I expect to see RecList1, 2, and 3 shown as single Records, but only RecList1 is shown a single Record and RecList2 and RecList3 are shown as RecordLists.

What am I doing wrong?

belliveaud
10-03-2003, 16:20
Put /Rec/RecList1[0]/RecList2[0] as the loop scope

and then only RecList3 as the inArray