Page 1 of 1
Question
Posted: November 30th, 2016, 11:34 pm
by CSProUser
A quick question, how can I repeat a question until a specific answer "no more items" is entered?
Thank you.
Re: Question
Posted: December 1st, 2016, 7:01 am
by josh
Create a repeating record with two variables - the question you wan't to repeat and the "no more items" question. Drag them onto the form to make a roster. In the postproc of the no "more items question" call endgroup if the answer is yes there are no more items. Here is an example of the postproc:
PROC MORE_PEOPLE
// Exit roster when no more people in household
if MORE_PEOPLE = 2 then
endgroup;
endif;
For the full application see
http://teleyah.com/cspro/DCJune2015/02- ... urvey2.zip
Re: Question
Posted: December 1st, 2016, 8:02 am
by CSProUser
Dear Josh, thank you for your answer. Just to confirm, there is no way to go over the 9,999 limit, correct?
https://www.census.gov/population/inter ... SPro50.pdf
(p.26.)
Re: Question
Posted: December 2nd, 2016, 7:26 am
by josh
You can't have more than 9,999 records in a single case. You can however have as many cases as you want. You probably want to use multiple cases here if you need that many occurrences.