Search found 2399 matches

by josh
June 3rd, 2017, 3:15 am
Forum: Synchronization
Topic: Problem with updating(GET) application with "syncfile"
Replies: 1
Views: 2885

Re: Problem with updating(GET) application with "syncfile"

Which server type are you using? CSWeb, FTP or Dropbox? Can you post the sync.log file from your device?
by josh
June 3rd, 2017, 3:13 am
Forum: Entry
Topic: How to detect duplicates cases ?
Replies: 9
Views: 7547

Re: How to detect duplicates cases ?

Yes, I just tested this and I see the same problem. It seems that the duplicate ID error message runs before the postproc so there is no way to avoid it.
by josh
June 3rd, 2017, 3:06 am
Forum: Other
Topic: Deployment Package- SETUP.EXE
Replies: 4
Views: 5226

Re: Deployment Package- SETUP.EXE

There isn't anything like that built into CSPro. We use the free product NSIS (https://sourceforge.net/projects/nsis/) to create the CSPro installer. You could probably build something using that. There is a lot of information on NSIS available online.
by josh
May 30th, 2017, 2:55 am
Forum: Other
Topic: logic on form not working
Replies: 3
Views: 5131

Re: logic on form not working

Hard to say what the problem without seeing the rest of your application. To debug these kinds of things I put in trace statements or errmsg statements to get more information on the problem. For example, put something like: errmsg("In preproc SECTION_9_HIV_COUNSELLING_A_F001. Value of Q6_2 is ...
by josh
May 30th, 2017, 2:50 am
Forum: Synchronization
Topic: Dropbox Sync
Replies: 41
Views: 34664

Re: Dropbox Sync

To download the files into separate directories supply the "to" path as the third argument to syncfile. Note that the from path should be relative the directory of the currently running application. So if you have the following directory structure on your tablet: CSEntry/ Menu/ Menu.pff Me...
by josh
May 30th, 2017, 2:38 am
Forum: Synchronization
Topic: Synchronize data from CSEntry to Dropbox
Replies: 3
Views: 5389

Re: Synchronize data from CSEntry to Dropbox

Once you have synchronized your cases to the Dropbox use the DataViewer application to download them. In the online help look up "Synchronization Overview". As it says there: Once interviewers in the field have used data synchronization to upload data to the server, you can use the Data Vi...
by josh
May 30th, 2017, 2:21 am
Forum: Entry
Topic: Copying values entered from previous case
Replies: 7
Views: 6260

Re: Copying values entered from previous case

You could use a lookup file and the selcase function to display all course titles that start with a particular sequence of letters. See the example "Computer Assisted Coding" in the CSPro examples directory. If you want to do something like Excel you could store all previous entries in a l...
by josh
May 30th, 2017, 2:09 am
Forum: Entry
Topic: Font size popup windows
Replies: 5
Views: 5049

Re: Font size popup windows

Looks like you are editing the wrong file. Use CSPro designer and enter the code in the logic window. This code should go in the preproc of the application.
by josh
May 30th, 2017, 2:07 am
Forum: Entry
Topic: Error message
Replies: 14
Views: 11212

Re: Error message

100119 is a general connection error. It means that for some reason the connection with the server failed. The second part of the message (after the ":") gives more specific information. For example "RETR response:550" is an FTP error that means "no such file or folder"...
by josh
May 25th, 2017, 10:54 pm
Forum: Entry
Topic: Error message
Replies: 14
Views: 11212

Re: Error message

Please tell me the version number and build date so we can figure out why you are only seeing the numbers and not the messages.