retrieve information already entered

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
ABOUBALLACK
Posts: 14
Joined: September 22nd, 2016, 9:24 am

retrieve information already entered

Post by ABOUBALLACK »

Hello, I am in CAPI mode and I would like to display the name of the respondent by asking him his age.
Example: Jonh, what is your age?
What are the settings to do?
thanks you
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: retrieve information already entered

Post by Gregory Martin »

You can refer to other fields by surrounding them in percents. If you name variable is called P01_NAME, you could write:
%P01_NAME%, what is your age?
ABOUBALLACK
Posts: 14
Joined: September 22nd, 2016, 9:24 am

Re: retrieve information already entered

Post by ABOUBALLACK »

Hello mister, i try it but doesn''t work. I am using Cspro 7.0, it can be the problem?
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: retrieve information already entered

Post by Gregory Martin »

You should post your application here, or send it to cspro@lists.census.gov, and we can take a look at it.
ABOUBALLACK
Posts: 14
Joined: September 22nd, 2016, 9:24 am

Re: retrieve information already entered

Post by ABOUBALLACK »

Hello, this is my application test. Thanks you to helping me
Attachments
Gov Office - Copie.rar
Hello, this is my application test. Thanks you to helping me
(17.28 KiB) Downloaded 233 times
ABOUBALLACK
Posts: 14
Joined: September 22nd, 2016, 9:24 am

Re: retrieve information already entered

Post by ABOUBALLACK »

Thank it works!!! i forgeted to update my csenty...
so how can i do to have this (see attechment)?
Attachments
screen-1.jpg
screen-1.jpg (19.55 KiB) Viewed 4929 times
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: retrieve information already entered

Post by josh »

In the value set add two options: the range 0-115 (with the label "0-115", the from value of "0"and the to value "115) and the single value "Don't know" (label "Don't know", from value "999" and to value blank). Then on the form, right-click on the field, choose field properties and set the capture type to "combo-box".

You can see how this was done in the Simple CAPI application which is in the CSPro examples folder (C:\Users\<your username>\Documents\CSPro\Examples 7.1\1 - Data Entry\Simple CAPI)
ABOUBALLACK
Posts: 14
Joined: September 22nd, 2016, 9:24 am

Re: retrieve information already entered

Post by ABOUBALLACK »

Good! thanks you very much!

A last question, is there a platform to test and view the questionnaires in real time on cspro?
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: retrieve information already entered

Post by josh »

We usually do most of our testing by the application on Windows desktop by running the application from CSPro designer and then do final tests on Android.
Post Reply