Search found 2399 matches

by josh
August 25th, 2017, 10:06 am
Forum: Synchronization
Topic: Syncdata()
Replies: 14
Views: 12360

Re: Syncdata()

You want it to be called before anything else when the questionnaire starts so you would put it in the level preproc. The level is the one that ends in "_QUEST". Make sure you use preproc otherwise it will happen at the end of the questionnaire after the data is entered.
by josh
August 25th, 2017, 10:03 am
Forum: Synchronization
Topic: Dropbox sync with windows
Replies: 15
Views: 15399

Re: Dropbox sync with windows

Make sure you have the right Dropbox. You could be logged into a different one. Also make sure the case (upper/lower) is correct when you specify the filename. It matters with Dropbox.
by josh
August 24th, 2017, 1:47 pm
Forum: Entry
Topic: Writecase roster main dcf to external dcf roster
Replies: 2
Views: 2808

Re: Writecase roster main dcf to external dcf roster

Maybe this part is supposed to be a comment but is missing the "//"?

(where QAD_1= the maximum occurence)
by josh
August 24th, 2017, 1:18 pm
Forum: Synchronization
Topic: Syncdata()
Replies: 14
Views: 12360

Re: Syncdata()

We don't have an option for that in the pff file. You could try doing something in logic. Check if it is not add mode using demode() and check if it is a partial case using ispartial(). if demode() <> 1 and not ispartial() then errmsg("Modification not allowed"); stop(0); endif;
by josh
August 24th, 2017, 11:38 am
Forum: Entry
Topic: Auto fill Object name
Replies: 1
Views: 2776

Re: Auto fill Object name

I would use a lookup file to do this. Create an Excel spreadsheet with the village code in one column and the investigator name in the other. Use the Excel2CSPro tool to create a data dictionary and data file from the Excel spreadsheet. Add the dictionary you create as an external dictionary to your...
by josh
August 24th, 2017, 11:34 am
Forum: Synchronization
Topic: Dropbox sync with windows
Replies: 15
Views: 15399

Re: Dropbox sync with windows

To download the beta you can go to http://www.csprousers.org/beta/

That error means that the file Dropbox/RDS_2017/Menu.pff is missing from your Dropbox.

Josh
by josh
August 24th, 2017, 7:25 am
Forum: Tabulation
Topic: Table output to csv format
Replies: 8
Views: 13416

Re: Table output to csv format

Unfortunately there is no way to automate saving the tables in a different format using the pff file. You can use table viewer from the command line to convert from a .tbw file to tab delimited. The syntax is like: "c:\Program Files (x86)\CSPro 7.0\TblView.exe" "C:\Users\josh\Document...
by josh
August 24th, 2017, 7:13 am
Forum: Entry
Topic: Systematic random sampling selection
Replies: 6
Views: 6146

Re: Systematic random sampling selection

Look at the help for forcase. You don't use parenthesis around the dictionary name:

forcase LISTING_DICT do

Also forcase replaces locate/while loadcase so you don't need both.
by josh
August 23rd, 2017, 1:35 pm
Forum: Synchronization
Topic: Time Taken to Synchronize Dropbox to the Desktop is Inefficient
Replies: 3
Views: 4818

Re: Time Taken to Synchronize Dropbox to the Desktop is Inefficient

You have a lot of files given the number of cases. Your interviewers are probably syncing frequently. The total time is not too surprising given the number of files. It takes about .5 seconds to download a single file on my connection which means 120 files/minute. Now that you have done it once, usi...
by josh
August 23rd, 2017, 12:04 pm
Forum: Synchronization
Topic: Time Taken to Synchronize Dropbox to the Desktop is Inefficient
Replies: 3
Views: 4818

Re: Time Taken to Synchronize Dropbox to the Desktop is Inefficient

I would expect a full download from the Dropbox to be slow since it has to download every file and there will be one file generated every time a tablet syncs. That said, 30 minutes for 1295 households is slower than I would expect. How many files are there in the Dropox/CSPro/datasync/<dictionary>/d...