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

Requests that have been moved to the Wish List, or deemed to need no further action
Post Reply
avatar
justone
Diamond
Posts: 82
Joined: 05 Mar 2006 14:42
Family Historian: None

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

Post by justone » 03 Feb 2008 10:37

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

User avatar
GladToBeGrey
Famous
Posts: 115
Joined: 26 Oct 2004 09:16
Family Historian: V7
Location: Dorset, UK

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

Post by GladToBeGrey » 04 Feb 2008 09:01

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.

Post Reply