Search found 69 matches

by sham
March 21st, 2023, 9:50 pm
Forum: Entry
Topic: System Time keeps changing
Replies: 2
Views: 1784

System Time keeps changing

Hi Family, How do I design a system time logic to automatically pick the system time one regardless of whether you go back and forth in Cspro in the interview process? I used this logic command below; PROC START_TTIME preproc if demode() = add then $ = sysTime("HHMM"); endif; But what I re...
by sham
March 13th, 2023, 7:26 pm
Forum: Entry
Topic: Creating a multiple response based on the non-selected response
Replies: 4
Views: 2482

Re: Creating a multiple response based on the non-selected response

Hi Justin, I am soo gratiful for your swift feedback. It is working. In fact that was going to be my last question. I had wanted to asked "what if I want to maintain the None? but your guide actually help. I came out with a logic to deal with the none and will like to share if its ok. valueset ...
by sham
March 13th, 2023, 2:42 pm
Forum: Entry
Topic: Logic to lookout in a number of previous response variable if No answer is choosen
Replies: 3
Views: 2825

Re: Logic to lookout in a number of previous response variable if No answer is choosen

Hi Sherrell,
Thank you soo much.
It is very helpful.

sham
by sham
March 13th, 2023, 2:32 pm
Forum: Entry
Topic: Creating a multiple response based on the non-selected response
Replies: 4
Views: 2482

Re: Creating a multiple response based on the non-selected response

Hi Justin, I am most grateful for your attention. I went through the document and guide but still not getting the results. I used the logic below; PROC Q2 preproc valueset vs = Q1_VS1; do numeric i = 1 while i < curocc(Q1) vs.remove(MAINLANGUAGE(i)) enddo; setvalueset(SECONDARY_LANG, vs); And gettin...
by sham
March 12th, 2023, 7:14 pm
Forum: Entry
Topic: Creating a multiple response based on the non-selected response
Replies: 4
Views: 2482

Creating a multiple response based on the non-selected response

Hi Family, I have a variable(Q1) with multiple selection and want to create another variable(Q2) but which should contain only the once that were not selected in Q1. what do I do? Q1(Select multiple) A. YAM B. Cassava...............selected C. Maize,.................selected D.. Millet E. NONE So I ...
by sham
March 12th, 2023, 1:00 am
Forum: Entry
Topic: Logic to lookout in a number of previous response variable if No answer is choosen
Replies: 3
Views: 2825

Logic to lookout in a number of previous response variable if No answer is choosen

Hi family, I have couple of questions(Q1,Q2,Q3...Q30) seeking to know if a particular activity has occurred with an option such as Yes=1 No=2 or DK= 3. So Q31 asked "Are you sure there is no any activity at all"? if Yes then CAPI should proceed and if NO then logic should take the enumerat...
by sham
October 13th, 2022, 5:01 am
Forum: Entry
Topic: CAPI TEXT Condition in Group roster
Replies: 4
Views: 3733

Re: CAPI TEXT Condition in Group roster

Hi Family,
@etuser and Team, the logic is working perfectly.

I appreciate your time and support.

Thank you.
by sham
October 12th, 2022, 4:59 pm
Forum: Entry
Topic: CAPI TEXT Condition in Group roster
Replies: 4
Views: 3733

Re: CAPI TEXT Condition in Group roster

Hi, @etuser and team, thank you very much for your time and your wonderful swift feedback. I have use the logic and it partially working. Partially means because there is a skip logic condition in SPECIFY variable, the logic could not prefix the names for maize and Beans since it does not apply to t...
by sham
October 12th, 2022, 9:20 am
Forum: Entry
Topic: CAPI TEXT Condition in Group roster
Replies: 4
Views: 3733

CAPI TEXT Condition in Group roster

Dear all, This is another challenge that I have been battling with in the CAPI text Condition . In the CAPI text on variable( AMOUNTSPENT ), I want to prefix the name of the fruit from curocc(1) and curocc(2) to read as follows; How much did you spend on Maize in the past 7 days? And How much did yo...
by sham
October 12th, 2022, 9:02 am
Forum: Entry
Topic: Skip condition involved in more than one "other" in occurrences
Replies: 2
Views: 3039

Re: Skip condition involved in more than one "other" in occurrences

Hi.
@etuser and Team, I am most grateful for your guide. It is working soo well.

Thank you.