moving from roster to repeat entry in subsequent form

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
emily wilson

moving from roster to repeat entry in subsequent form

Post by emily wilson »

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.
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: moving from roster to repeat entry in subsequent form

Post by Gregory Martin »

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:
PROC FIRST_FIELD_ON_SECOND_ROSTER

preproc

    
if curocc() > totocc(HL000) then
        
endgroup;
    
endif;
Guest

Re: moving from roster to repeat entry in subsequent form

Post by Guest »

It was the endgroup statement that I was struggling with. Thanks very much!
Post Reply