Search found 55 matches

by Don
August 7th, 2020, 11:20 am
Forum: Feature Requests
Topic: Block logic execution order
Replies: 3
Views: 2718

Block logic execution order

Hi I would like the order of execution in blocks to change from BLOCK - preproc BLOCK - onfocus FIELD_1 - preproc FIELD_1 - onfocus Interviewer enters data for fields 1 & 2 FIELD_1 - postproc FIELD_2 - preproc FIELD_2 - onfocus FIELD_2 - postproc BLOCK - postproc to this BLOCK - preproc BLOCK - ...
by Don
April 15th, 2019, 1:13 pm
Forum: Android
Topic: App crashes when opening a questionnaire
Replies: 7
Views: 5433

Re: App crashes when opening a questionnaire

I found a strange workaround. if I place an errmsg statement just before the vsEDCode(nextEntry) = notappl; like this nextEntry = 1; uid = maketext("%V",USERID); if loadcase(ALLOCATION_DICT,uid) then while nextEntry <= count(AED) do if AROUND = ME_ROUND then vsEDCode(nextEntry) = AED(nextE...
by Don
April 11th, 2019, 3:02 pm
Forum: Android
Topic: App crashes when opening a questionnaire
Replies: 7
Views: 5433

Re: App crashes when opening a questionnaire

Any ideas on what it could be? Is there anything I can do for a workaround?
by Don
April 10th, 2019, 12:35 pm
Forum: Android
Topic: App crashes when opening a questionnaire
Replies: 7
Views: 5433

Re: App crashes when opening a questionnaire

When I remove the calls to setvalueset() and type in the questionnaire ID, it still crashes. The part that I mentioned about it crashing when I try to change ED is fixed when I remove the setvalueset line in that proc. I'm not sure that the problem is only with the setvalueset() statement because if...
by Don
April 9th, 2019, 4:44 pm
Forum: Android
Topic: App crashes when opening a questionnaire
Replies: 7
Views: 5433

App crashes when opening a questionnaire

My app crashes on android whenever I try to open a questionnaire from my menu program. Running the pff file directly from the tablet's file explorer works fine, but trying from the menu app gives the error "Unfortunately, CSEntry has stopped". The thing is, it works fine on both windows an...
by Don
March 14th, 2019, 1:31 pm
Forum: Entry
Topic: Change ID fields
Replies: 1
Views: 1696

Change ID fields

Is there a way to load a case and change any of the identification fields? I tried the following code loadcase(LABOURFORCE_DICT,prevround) then //load previous round RNDNO = tonumber(curid[1:2]); //change round number (an id field) to current round writecase(LABOURFORCE_DICT); But that results in th...
by Don
February 27th, 2019, 11:08 pm
Forum: Entry
Topic: Dynamic valueset stopped working in 7.2.0
Replies: 2
Views: 2330

Re: Dynamic valueset stopped working in 7.2.0

I made a workaround by adding the following line in the postproc of CHOOSE_HOUSEHOLD

Code: Select all

CHOOSE_HOUSEHOLD = maketext("%13.12s",CHOOSE_HOUSEHOLD);
Which makes me think that this is a bug since using %13s alone does not work. If there's anything that I could have missed. please let me know.
by Don
February 27th, 2019, 11:36 am
Forum: Entry
Topic: Dynamic valueset stopped working in 7.2.0
Replies: 2
Views: 2330

Dynamic valueset stopped working in 7.2.0

I had created a dynamic valueset in my menu program that allows someone to choose a household to interview. It displays information correctly but the CHOOSE_HOUSEHOLD variable does not include leading spaces. If " 52922022102 (note the leading space) is passed to the variable, it seems to store...
by Don
February 21st, 2019, 11:13 pm
Forum: Entry
Topic: Assisted coding not working
Replies: 1
Views: 1796

Assisted coding not working

I created a computer assisted coding app based on the examples and it worked. However, we needed to change the coding scheme from ISCO to BARSOC. I created a new data dictionary where the only change was in the name of the ID variable from LU_ISCO_CODE to LU_BARSOC_CODE. I made the corresponding cha...
by Don
February 4th, 2019, 12:07 pm
Forum: Synchronization
Topic: Transfer data from FTP server to CSweb
Replies: 1
Views: 1989

Transfer data from FTP server to CSweb

I'm changing from synchronizing using FTP to using CSweb. I have deployed my application already but I have existing data on the FTP server that I would like to transfer to CSweb. Is there a way to transfer either a csdb file or the files in the datasync folder to CSWeb?