Page 1 of 1

=%INDI.ASSO[1+].SOUR[1+]gt;% (multi-looping)

Posted: 03 Feb 2008 10:37
by justone
Ability to have loops within loops in textshemes. At the moment the above could only be solved doing
%INDI.ASSO[1+].SOUR[1]>%
%INDI.ASSO[1+].SOUR[2]>%
%INDI.ASSO[1+].SOUR[3]>%
....
%INDI.ASSO[1+].SOUR[999]>%

and I'm aware it's tricky to get implemented since one must also be possible to define which loop should be the inner and which the outer one.

ID:2742

=%INDI.ASSO[1+].SOUR[1+]gt;% (multi-looping)

Posted: 04 Feb 2008 09:01
by GladToBeGrey
This is another example in support of my Wish List Request (see http://www.fhug.org.uk/cgi-bin/index.cg ... y&num=2728) for the looping index notation to be supported in all situations where multiple occurences of fields and/or records can occur.

Without it, the query syntax is incredibly cumbersome, as is the Results List, as you have to define a new column for each result, rather than getting the far more useable single line output per occurrence.

Coincidentally, I also hit the issue with ASSO this morning, having just discovered one recently uncovered person in my tree was the Registrar at the Death of several others, and wished to record/list this fact using ASSO.