Linking other sections of the dictionary with the roster

Discussions about CSEntry
Ayebian
Posts: 4
Joined: July 15th, 2017, 10:56 am

Linking other sections of the dictionary with the roster

Postby Ayebian » July 15th, 2017, 11:04 am

Hello forum how can i link the roster with other sections of the dictionary

Gregory Martin
Posts: 817
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Linking other sections of the dictionary with the roster

Postby Gregory Martin » July 16th, 2017, 12:38 pm

You'll have to post more details about what you're trying to do. What are you trying to link?

Ayebian
Posts: 4
Joined: July 15th, 2017, 10:56 am

Re: Linking other sections of the dictionary with the roster

Postby Ayebian » July 16th, 2017, 5:11 pm

Helo gregory thanks for the reply,i created a house hold roster listing all family members and their details in section A,now they are questions in other sections like the health section it starts with"who is responding to this section" i want the application to be able to bring a list of the members of the roster..also in the education section ther is a check for age(for members 10years and above) but age is in the roster..so i want other sections to be able to connect with the roster..thank you

josh
Posts: 1040
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Linking other sections of the dictionary with the roster

Postby josh » July 17th, 2017, 7:26 am

One way to do this is to use what call dynamic value sets. Instead of having the values in the value set fixed in the dictionary you can set them in your program logic using the setvalueset function to the names of the household members. This takes a little bit of programming but it is a very useful technique in this and other situations. For examples of this see the following:

CAPI Getting Started Guide:
https://www.census.gov/population/inter ... tarted.pdf

Lecture notes on dynamic value sets (look on page 8) that uses values from roster:
http://teleyah.com/cspro/SouthAfricaOct2016/05-CAPI.pdf
http://teleyah.com/cspro/SouthAfricaOct ... apter5.zip (example application that accompanies above)


Return to “Entry”