Dear Cspro team,
I have a problem where I want to display all household members to a multiple choice roster.
Kindly help me.
I want to choose which member of the Household who consummed an item.
I am still using Cspro 7.2
Thank you
Copy HH members(Serial Number and Names) which is 1 selection(radio button) to a multiple choice roster(chekcbox)
-
mussabahire
- Posts: 57
- Joined: September 5th, 2016, 4:55 am
Copy HH members(Serial Number and Names) which is 1 selection(radio button) to a multiple choice roster(chekcbox)
You do not have the required permissions to view the files attached to this post.
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
Re: Copy HH members(Serial Number and Names) which is 1 selection(radio button) to a multiple choice roster(chekcbox)
You can use the valueset object and the setvalueset function to do this. Loop through the roster of household members and each member to the valueset object. Then call setvalueset to set the valueset for the question. You can see examples of page 38 of the workshop materials https://www.csprousers.org/resources/CS ... rkshop.pdf
-
mussabahire
- Posts: 57
- Joined: September 5th, 2016, 4:55 am
Re: Copy HH members(Serial Number and Names) which is 1 selection(radio button) to a multiple choice roster(chekcbox)
This manual is for 7.4. I was still using 7.2
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
Re: Copy HH members(Serial Number and Names) which is 1 selection(radio button) to a multiple choice roster(chekcbox)
The relevant section also applies to CSPro 7.2