Search found 26 matches

by rcovane
September 15th, 2016, 3:07 am
Forum: Entry
Topic: Sequencial ID number
Replies: 2
Views: 3485

Re: Sequencial ID number

Thanks Josh, I used this solution with some modifications: You can make your ID field both protected and persistent, and then write code like this: PROC ID preproc if demode () = add then if visualvalue (ID) = notappl then // this is the first case in the data file ID = 1 ; else // this is the secon...
by rcovane
September 15th, 2016, 3:07 am
Forum: Entry
Topic: Query in cspro
Replies: 6
Views: 6922

Re: Query in cspro

Good code for work around on Sequential ID, the only problem is if you use several tablets and at the time of merging the data you get duplications. I solved this problem changing the ID first number for each tablet, it's a little extra work but it solves many future problems. You can make your ID f...
by rcovane
September 14th, 2016, 9:05 am
Forum: Other
Topic: v7.0
Replies: 7
Views: 7012

Re: v7.0

Great news, finally CSPRO 7.0 Beta. Is it already available?

If so, please share the link for download. I love beta versions of CSPRO, it's always good time to learn new things and when the final version is reads, we just implement!!! :idea: :)
by rcovane
September 14th, 2016, 4:21 am
Forum: Entry
Topic: Sequencial ID number
Replies: 2
Views: 3485

Sequencial ID number

Hi everyone.

I'm trying to make the ID variable sequencial. It has 3 digit and identifies the household. The data entry will be on android.

The problem is this option is deativated on field properties window.

Thanks
by rcovane
April 26th, 2016, 7:43 am
Forum: Other
Topic: Capturing GPS coordinators
Replies: 10
Views: 16062

Re: Capturing GPS coordinators

RERII wrote:If you use the android version can you use the phone or tablet's GPS coordinates in CSPro?
Yes, you can use GPS function. Read the attached file.
07-MultimediaGPS.pdf
(385.72 KiB) Downloaded 1664 times
by rcovane
April 26th, 2016, 6:02 am
Forum: Entry
Topic: Problem using multichoice questions
Replies: 0
Views: 34465

Problem using multichoice questions

Hi guys, I'm having problems with multichoice questions on CSPro 6.2. I used this code: PROC P32 //Verify if any option was selected if length(strip(P32)) = 0 then //Verify if any option was selected errmsg("Deve selecionar pelo menos uma opção."); reenter; endif; //Verify if "other&q...
by rcovane
March 7th, 2016, 4:17 am
Forum: Feature Requests
Topic: Tracking (GPS), report generation
Replies: 15
Views: 19204

Re: Tracking (GPS), report generation

Dear Josh, I was able to produce the reports but it returns the code for the selection (on closed questions) and not the label. How can I retrieve the label to the report? For example, i have the districts coded from 1 to 5 and I want that the name of the district to appear in the report but it retu...
by rcovane
March 3rd, 2016, 8:37 am
Forum: Entry
Topic: Data file generation
Replies: 1
Views: 2872

Data file generation

Help please!!! I'll use 6 tablets in a survey and I want to automatically: 1. Create data files with device name+systemdate; 2. In the following day move the previous day data to backup folder and create today data files. this will include all data from previous days. I never tried to generate data ...
by rcovane
March 3rd, 2016, 6:17 am
Forum: Entry
Topic: Pre-filled data variables
Replies: 3
Views: 4332

Re: Pre-filled data variables

If you made any change in the dictionary (such as add new variables or change the length of any variable) it will mess your data. Before start using your application always test it and make sure you did everything needed. Usually what I do is give some tablets (I use CAPI in almost every surveys) to...
by rcovane
March 3rd, 2016, 6:05 am
Forum: Entry
Topic: Help!!! CHECKBOX
Replies: 3
Views: 3769

Re: Help!!! CHECKBOX

tshetlho@hsrc wrote:Hi,

try this:

if poschar("1",P32) = 1 then
P32_1 = 2;
else
P32_1 = 9;
endif;
Thank you, it worked a bit as I expected. Is there a way that I can do it opens the pop-up window just when I select the option?

I'm combining with accept and it does what is supposed to do!