Hi @johnrbpalmer,
Basically if you wish to to refer to a variable in a repeat group that was once used previously in a repeat group within the interview, you could use the index-repeat
.
e.g.
Section Demographic Characteristics
begin_repeat
name---k
age
.
.
.
end_repeat
begin_repeat
calculate---index-repeat
what did ${name} do last year to make a living?
.
.
.
end_repeat
For better understanding, please have a look at the post that has been discussed earlier:
Have a great day!