How to link levels under menu program
Posted: March 28th, 2022, 7:11 am
Dear CSPro users,
I have some questions about the menu program.
First, the flow is like below:
Menu → Household survey(launch household dictionary) → Menu → Individual survey(launch individual dictionary) → Menu → Individual survey(launch individual dictionary).
Please see the CSPro example files attached.
Question 1: How to make "ask if" logic is working between two different dictionaries (Household survey - Individual survey)?
1) PROC ASK_IF_CHILDREN (from Household survey)
<Instruction> Ask only if one of the respondents' age(PROC AGE from Individual survey) is under 18 question.
2) PROC ASK_IF_OTHER_ADULT (from Household survey)
<Instruction> Ask only if there are more than two adults in the household member. (PROC AGE from Individual survey)
Question 2: How to fill in the individual survey's id items automatically based on the Household survey's id items?
How to link the two dictionaries by id items?
It would be appreciated if you add codes in the example file attached.
Thank you in advance.
I have some questions about the menu program.
First, the flow is like below:
Menu → Household survey(launch household dictionary) → Menu → Individual survey(launch individual dictionary) → Menu → Individual survey(launch individual dictionary).
Please see the CSPro example files attached.
Question 1: How to make "ask if" logic is working between two different dictionaries (Household survey - Individual survey)?
1) PROC ASK_IF_CHILDREN (from Household survey)
<Instruction> Ask only if one of the respondents' age(PROC AGE from Individual survey) is under 18 question.
2) PROC ASK_IF_OTHER_ADULT (from Household survey)
<Instruction> Ask only if there are more than two adults in the household member. (PROC AGE from Individual survey)
Question 2: How to fill in the individual survey's id items automatically based on the Household survey's id items?
How to link the two dictionaries by id items?
It would be appreciated if you add codes in the example file attached.
Thank you in advance.