i'm new to CSPro i need help on
How to make the individual questionnaire forms appear N times after the Household Questionnaire form where N = Eligible family members (determined in HH questionnaire)
???
how to make the individual questionnaire forms appear N time
Re: how to make the individual questionnaire forms appear N
Hello Bayomie,
You can use this piece of logic that seems to work.
This goes in the first question in the roster
But it is better to put the code in the last question in the person record so that you don't have an extra line with no information.
I hope that this answers your question.
Bon week-end.
You can use this piece of logic that seems to work.
This goes in the first question in the roster
Code: Select all
proc FIRST_QUESTION
//the first question in the roster
preproc
if curocc() >= n then // n is the total number of persons in the household
i = 0;
do until i in 1:2
i = accept ("Would you like to enter more people?", "NO", "YES");
enddo;
if i in 1 then
endgroup;
endif;
endif;
skip to next;
Code: Select all
proc LAST_QUESTION
postproc
if curocc() >= n then // n is the total number of persons in the household
i = 0;
do until i in 1:2
i = accept ("Would you like to enter more people?", "NO", "YES");
enddo;
if i in 1 then
endgroup;
endif;
endif;
skip to next;
Bon week-end.
Re: how to make the individual questionnaire forms appear N
Thank you P-air
this is a useful peace of information for the roster, but my question is about multi level questionnaire
level one is the house hold questionnaire (there is a variable with N where n is the number of eligible family member for the individual questionnaire
- level two Individual questionnaire it repeats N times for each house hold
the relation between level one HH and level two Individual is One to many.
my problem is how to force level two (IND questionnaire ) to appear N times after each level one HH questionnaire
hope this explain my problem better
this is a useful peace of information for the roster, but my question is about multi level questionnaire
level one is the house hold questionnaire (there is a variable with N where n is the number of eligible family member for the individual questionnaire
- level two Individual questionnaire it repeats N times for each house hold
the relation between level one HH and level two Individual is One to many.
my problem is how to force level two (IND questionnaire ) to appear N times after each level one HH questionnaire
hope this explain my problem better
- Attachments
-
- Multi level structure
- CSpro.png (39.5 KiB) Viewed 4007 times
-
- Posts: 573
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: how to make the individual questionnaire forms appear N
Dear Bayomie
Please see attached data entry program with two levels.
Regards.
a.
Please see attached data entry program with two levels.
Regards.
a.
- Attachments
-
- Two Level Application.rar
- This files is from CSPro example folder.
- (79.66 KiB) Downloaded 320 times
-
- LSS Wave II Raven.rar
- Currently we are working on it.
- (194.45 KiB) Downloaded 324 times
Re: how to make the individual questionnaire forms appear N
Dear khurshid
thank you for your reply it is useful i'm testing to apply it to my questionnaire
thanks
thank you for your reply it is useful i'm testing to apply it to my questionnaire
thanks