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
-
khurshid.arshad
- Posts: 618
- 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.
You do not have the required permissions to view the files attached to this post.
-
Yass
- Posts: 103
- Joined: November 11th, 2017, 1:26 am
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