Dear Forum
I have this issue, i will like to list responses selected in a multiple response question to my CAPI text,
I tried the following and it not wrong. Please help.
Proc f15
preproc
drinksSelected="";
if pos ("A",f14) then drinksSelected = drinksSelected + " Fanta"; endif;
if pos ("B",f14) then drinksSelected = drinksSelected + " /Coca Cola"; endif;
if pos ("C",f14) then drinksSelected = drinksSelected + " /Spirite"; endif;
if pos ("F",f14) then drinksSelected = drinksSelected + " / Pepsi"; endif;
IN MY CAPI TEXT I HAVE :
How much did it cost you in buying : %drinksSelected% ?
It does not work... am I in the right path?
CAPI TEXT FOR MULTIPLE RESPONSES
-
- Posts: 573
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: CAPI TEXT FOR MULTIPLE RESPONSES
Dear Yass;
It is working fine. See attached file
Best.
a.
It is working fine. See attached file
Best.
a.
- Attachments
-
- Test.rar
- (5.61 KiB) Downloaded 392 times
Re: CAPI TEXT FOR MULTIPLE RESPONSES
Dear khurshid,
Thanks , my declaration was in private , after sending it to global , it works!!! Thanks
Thanks , my declaration was in private , after sending it to global , it works!!! Thanks