Page 1 of 1

Repeat group

Posted: June 26th, 2017, 7:27 am
by mahendra
I want to use repeat group in CAPI application, can someone explain me?

Re: Repeat group

Posted: June 26th, 2017, 4:40 pm
by Gregory Martin
You'll have to provide more details about what you're interested in doing. The Getting Started Guide has information about repeating records:

https://www.census.gov/population/inter ... tart70.pdf

Re: Repeat group

Posted: June 29th, 2017, 2:57 am
by mahendra
I want to create multiple occurrence for age, relation, education,occupation and income as per the number of members in the household. please help me to do this

Re: Repeat group

Posted: July 3rd, 2017, 3:35 am
by mahendra
I am trying to add logic for group occurrence but logic option is not display in the dictionary. please guide me

Re: Repeat group

Posted: July 4th, 2017, 12:14 am
by khurshid.arshad
Dear Mahendra;

You can write logic only in Form Design. You can find Forms design icon next to the dictionary icon in toolbar.
a.

Re: Repeat group

Posted: July 10th, 2017, 8:02 am
by josh
Take a look at the CAPI getting started guide (https://www.census.gov/population/inter ... tarted.pdf) and the simple CAPI application in the examples folder. They do two things to get the repeat group for household members:

1) In the dictionary, make the max occurrences of the record for the repeating group the maximum number of household members you could have, i.e. the size of the largest possible household.

2) In the logic add a call to the command "endgroup" to end entry of the group once all household members have been entered. In the above examples this is done when the interviewer enters a blank name (see section 5 of the CAPI getting started guide). Personally instead of using a blank name I prefer adding another question to the repeating group ("Are there more household members: yes/no") since the blank name is a bit hidden. You can see and example of that here: http://teleyah.com/cspro/SouthAfricaOct ... apter2.zip