moving from roster to repeat entry in subsequent form

Discussions about CSEntry
Post Reply
emily wilson

moving from roster to repeat entry in subsequent form

Post by emily wilson » February 7th, 2013, 1:05 am

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: 1376
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: moving from roster to repeat entry in subsequent form

Post by Gregory Martin » February 12th, 2013, 4:54 pm

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 » February 12th, 2013, 7:46 pm

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

Post Reply