I have a household roster with hard checks in roster HL000. For the second form of the roster, I'd like to have each HH member individually entered into the fields.
Variable person = curocc(HL000) and I've been tinkering with if statements to try to say something like:
if person < totocc(HL000) then
skip to next HL_MONTH;
else skip to ED3(person);
endif;
but this goes in a circle through the second part of the HH roster, and I can't move to the rest of the questionnaire entries.
moving from roster to repeat entry in subsequent form
-
- Posts: 1801
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: moving from roster to repeat entry in subsequent form
Hey Emily,
Can you clarify exactly what you're trying to do. It's a bit hard for me to understand without seeing your code. Might the endgroup statement work for your purposes, something like:
Can you clarify exactly what you're trying to do. It's a bit hard for me to understand without seeing your code. Might the endgroup statement work for your purposes, something like:
PROC FIRST_FIELD_ON_SECOND_ROSTER
preproc
if curocc() > totocc(HL000) then
endgroup;
endif;
preproc
if curocc() > totocc(HL000) then
endgroup;
endif;
Re: moving from roster to repeat entry in subsequent form
It was the endgroup statement that I was struggling with. Thanks very much!