repeat count for household roster form

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
subash
Posts: 26
Joined: March 3rd, 2016, 5:49 am
Location: Nepal

repeat count for household roster form

Post by subash »

Can anyone help me telling, whether it is possible or not to use the repeat count function and administered the same question for all the members in the house from the roster??? Is there any such function available on CSPro or not?? because you can use such function on ODK or XLSform which is quite helpful.
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: repeat count for household roster form

Post by josh »

For those of us who do not know what the repeat count function in ODK does please explain what you are trying to accomplish?
pradhanra01
Posts: 38
Joined: August 27th, 2017, 2:43 am

Re: repeat count for household roster form

Post by pradhanra01 »

Hi Josh,

As per my understanding you are trying to check repeatation of members detail in roaster; if i m not wrong understanding your requirement; in this case i would suggest curocc() function on roaster,

Lets assume we have Age, Sex, Occ, Edu in household roaster. If all variables matches with one row to another row in roaster while entering data it should show error ? isnt it ?

IF COUNT(HHGRID000 WHERE AGE = AGE(CUROCC()) AND SEX = SEX(CUROCC()) AND OCC = OCC(CUROCC()) AND EDU = EDU(CUROCC())) > 1 THEN; ERRMSG("Duplicate Member");
REENTER;
ENDIF;
Saint
Posts: 63
Joined: November 22nd, 2013, 4:59 am

Re: repeat count for household roster form

Post by Saint »

What will happen for twins of same sex, education and occupation?
pradhanra01
Posts: 38
Joined: August 27th, 2017, 2:43 am

Re: repeat count for household roster form

Post by pradhanra01 »

Hi Josh,

If there are twins in household; yes it will have problem on duplication check then we have to add one item in roaster either name of member or other flag variable; so that your requirement could pass easily....

Hope it will solve your problem :lol:
subash
Posts: 26
Joined: March 3rd, 2016, 5:49 am
Location: Nepal

Re: repeat count for household roster form

Post by subash »

Can anyone provides me the file for household roster??
khurshid.arshad
Posts: 571
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: repeat count for household roster form

Post by khurshid.arshad »

Dear Subash

You can see Simple CAPI application in Examples folder.

Just Tab on help >>Example Folder >> 1 - Data Entry >> Simple CAPI

Best.
a.
Post Reply