loop in a roster
Posted: July 16th, 2021, 8:14 am
Hi team,
I have a query wherein need to loop few variables in a roster.
Variable names : Structure no, Address, Households_in_the_structure, Name_of_eldest, Total_male_persons, Do_you_want_to_add_structure
This is a roster. In this roster say the 3rd variable Households in the structure is 4 Then in such case, Name of eldest and total male persons will be repeated 4 times. Once this done in the last variable Do you want to add structure is entered as Yes (code 1) then again the 1st variable Structure no should open up for entry.
Hope the above written is understandable. Can you share some logic for implementation.
Thanks in advance.
I have a query wherein need to loop few variables in a roster.
Variable names : Structure no, Address, Households_in_the_structure, Name_of_eldest, Total_male_persons, Do_you_want_to_add_structure
This is a roster. In this roster say the 3rd variable Households in the structure is 4 Then in such case, Name of eldest and total male persons will be repeated 4 times. Once this done in the last variable Do you want to add structure is entered as Yes (code 1) then again the 1st variable Structure no should open up for entry.
Hope the above written is understandable. Can you share some logic for implementation.
Thanks in advance.