SKIPPING TO RECORD TYPE AFTER COMPLETING A ROSTER
Posted: September 19th, 2015, 3:44 pm
I have a roster called sect5000 followed by another roster sect6000 which is followed by another roster called sect7a000. The data entry progresses according to how the rosters are. Finish sect5 automatically sect6 comes after finishing that sect7a comes etc, etc.
Now my problem is sect5 is using an occurence label linked to household roster and varies to according to house hold sizes. I have a question s5q5, if all the answers to this question in the roster is no = 2 for each household you skip to sect7a otherwise you skip to sect6 following sect5. I tried the following:
if s5q5 = 2 then
endgroup;
skip to sect7a;
endif;
that is not working as it looks at only the first case in the roster. I want the skip to happen after entering the last case in the roster whose size is not fixed as it depends on the household size.
Attached is zip files for your attention.
Now my problem is sect5 is using an occurence label linked to household roster and varies to according to house hold sizes. I have a question s5q5, if all the answers to this question in the roster is no = 2 for each household you skip to sect7a otherwise you skip to sect6 following sect5. I tried the following:
if s5q5 = 2 then
endgroup;
skip to sect7a;
endif;
that is not working as it looks at only the first case in the roster. I want the skip to happen after entering the last case in the roster whose size is not fixed as it depends on the household size.
Attached is zip files for your attention.