Search found 1827 matches

by josh
May 21st, 2019, 4:39 am
Forum: Entry
Topic: Data Entry with 2 level data dictionary
Replies: 2
Views: 21

Re: Data Entry with 2 level data dictionary

If all you have are a household record and an individual level then you don't need two levels. Use a single level with a single record for household and multiply occurring record for the individuals. See the CAPI census example or the Popstan Census example in the examples directory. Keeping it to o...
by josh
May 21st, 2019, 4:35 am
Forum: Android
Topic: FTPListParse Exception
Replies: 1
Views: 7

Re: FTPListParse Exception

That is an error we have not seen before. After connecting to the server CSPro asks the FTP server for the list of files. This error occurs when trying to read the list that was returned by the server. So it seems that the format of the list is not in the standard format for FTP that we expect. It i...
by josh
May 20th, 2019, 11:56 am
Forum: Synchronization
Topic: Synchronization using FTP
Replies: 12
Views: 1055

Re: Synchronization using FTP

On Android CSPro uses a timeout of 30 seconds which should be more than long enough. Chances are if you are getting the timeout error that it means that your server is not responding or you are not able to reach your server over the network. Make sure you have the right address for your server and m...
by josh
May 20th, 2019, 9:44 am
Forum: Android
Topic: Copy GPS coordinates from previous case?
Replies: 1
Views: 13

Re: Copy GPS coordinates from previous case?

We recently did a listing application like that although we had a question asking if the current housing unit is in the same building as the previous housing unit and only copy the GPS coordinates if it is the same building. This program hasn't gone into the field yet so not sure how well it works.
by josh
May 20th, 2019, 7:09 am
Forum: Entry
Topic: execsystem file dynamically
Replies: 3
Views: 42

Re: execsystem file dynamically

Assuming login is numeric then use %d to add the login code to the filename:
string mapPath = maketext("%s%dmap.pdf", pathname(Application), login);


The %s gets replaced with the application path and the %d gets replaced with the login code.
by josh
May 19th, 2019, 4:14 pm
Forum: Entry
Topic: execsystem file dynamically
Replies: 3
Views: 42

Re: execsystem file dynamically

Your code looks almost correct but you need "%s" instead of just "%". Replace maketext("%map.pdf", with maketext("%smap.pdf",
by josh
May 19th, 2019, 4:11 pm
Forum: News
Topic: Synchronization CSEntry to Dropbox server
Replies: 1
Views: 13

Re: Synchronization CSEntry to Dropbox server

Ce message est affiche après avoir envoyer les donnes sur le serveur lorsque CSPro essaie de télécharger les fichiers pen et pff pour mettre à jour l'application. Vous pouvez sauter cette étape en décochent l'option "Download application files" dans les options de synchronization. Sinon, v...
by josh
May 17th, 2019, 7:32 am
Forum: Synchronization
Topic: Sync error when downloading cases from CS Web using Data Viewer
Replies: 2
Views: 38

Re: Sync error when downloading cases from CS Web using Data Viewer

It is hard to tell from that message alone. It could be anything from a bad network connection to an issue with the configuration on your server. Please look at the sync.log on the machine that you are running DataViewer on. It will be in the folder C:\Users\<your username>\AppData\Roaming\CSPro\ Th...
by josh
May 13th, 2019, 10:02 am
Forum: Synchronization
Topic: Synchronization using FTP
Replies: 12
Views: 1055

Re: Synchronization using FTP

I'm able to connect to your server from Android. I can't login without the username/password but I am not getting the timeout error that you are. This makes me think there is an issue with the connection from your Android device to the internet.
by josh
May 8th, 2019, 2:54 pm
Forum: Entry
Topic: Checking if a numeric variable is completly filled
Replies: 2
Views: 62

Re: Checking if a numeric variable is completly filled

That depends on how you define "completely filled". Is it allowed to have leading zeros? If not then you can simply check if it is greater than or equal 10000000 since any 8 digit number must be at least that big. If it can have leading zeros then you really aren't talking about number in ...

Go to advanced search