Hi, I developed entry programme and during interview a respondent might refuse to continue with the interview. So I would like to have the programme to allow to stop at any quetion reached and skip to last question to fill the result of interview. So any one who has done this will appreciate the help.
Rgds
Thad
stop interview and go to question "Result of interviw"
-
- Posts: 573
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: stop interview and go to question "Result of interviw"
Dear Thad
I have used following syntax in my one project under "Proc Global"
Function onkey (x)
if x in 2119 then //Ctrl+F8
skip to Result;
else
onkey=x;
endif;
end;
a.
I have used following syntax in my one project under "Proc Global"
Function onkey (x)
if x in 2119 then //Ctrl+F8
skip to Result;
else
onkey=x;
endif;
end;
a.
Re: stop interview and go to question "Result of interviw"
Dear Arshad,
On phone I don't have access to the keys especially for questions with radio buttons when doing the entry because it works when testing the application on the laptop but it doesn't on phone.
Regards
Thad
On phone I don't have access to the keys especially for questions with radio buttons when doing the entry because it works when testing the application on the laptop but it doesn't on phone.
Regards
Thad
Re: stop interview and go to question "Result of interviw"
You could use the userbar for this on the phone. On Windows the userbar is a toolbar at the top of the window with buttons on it. On Android the buttons are converted to menu that you can access on the phone/tablet by tapping on an icon at the top of the screen. Look up userbar in the online help for details on how to add buttons and show it. Then you can use the code that @khurshid.arshad supplied in your userbar function.
Re: stop interview and go to question "Result of interviw"
Thanks, using the code supplied by @khurshid.arshad together with userbar function has worked perfectly as I wanted.
Regards
Thad
Regards
Thad
Re: stop interview and go to question "Result of interviw"
Hi ,
I define below mentioned code for Android CAPI Application but this function is working on desktop but not working on android, please help
PROC GLOBAL
Function onkey (b)
if b in 2119 then //
skip to Q10A;
else
onkey=b;
endif;
end;
numeric b;
Thanks & Regards,
Bhavesh
I define below mentioned code for Android CAPI Application but this function is working on desktop but not working on android, please help
PROC GLOBAL
Function onkey (b)
if b in 2119 then //
skip to Q10A;
else
onkey=b;
endif;
end;
numeric b;
Thanks & Regards,
Bhavesh
-
- Posts: 1803
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: stop interview and go to question "Result of interviw"
OnKey does not get executed on Android, as the concept of a keystroke is not as well defined on a tablet.
You can instead add a userbar function that the user can click on to move to Q10A.
You can instead add a userbar function that the user can click on to move to Q10A.