Search found 2399 matches

by josh
November 26th, 2017, 8:24 am
Forum: Synchronization
Topic: "Error connecting to sync server: necessary data rewind wasn't possible"
Replies: 6
Views: 6646

Re: "Error connecting to sync server: necessary data rewind wasn't possible"

Next time please start a new thread instead of adding to a thread about a completely different error message.

Please post the sync.log file from the tablet.
by josh
November 25th, 2017, 8:11 am
Forum: Android
Topic: Dynamic Value Sets from Checkboxes
Replies: 13
Views: 12161

Re: Dynamic Value Sets from Checkboxes

You need to add the function isChecked in the proc global. See attached.
by josh
November 24th, 2017, 7:24 pm
Forum: Android
Topic: Dynamic Value Sets from Checkboxes
Replies: 13
Views: 12161

Re: Dynamic Value Sets from Checkboxes

To use the isChecked function you would just change the logic in @khurshid.arshads example to: if isChecked("01", S4Q7) then A_WHEATHER = 1 else A_WHEATHER = 2; endif; if isChecked("02", S4Q7) then B_CROP_VARIETIES = 1 else B_CROP_VARIETIES = 2; endif; if isChecked("03"...
by josh
November 24th, 2017, 7:34 am
Forum: Android
Topic: Problem with selcase function in csentry 7.1
Replies: 3
Views: 3825

Re: Problem with selcase function in csentry 7.1

I can't actually test your app since I don't know the login code but try removing the open/close of the dictionaries you are using for selcase. In CSPro 7 the behavior of functions that use external dictionaries such as loadcase and selcase changed. In older versions if a dictionary had been closed ...
by josh
November 24th, 2017, 7:25 am
Forum: Android
Topic: NEEDED HELP URGENTLY TO DUPLICATE THE SAME IDS FROM ONE ROSTER1 TO ROSTER2
Replies: 12
Views: 9218

Re: NEEDED HELP URGENTLY TO DUPLICATE THE SAME IDS FROM ONE ROSTER1 TO ROSTER2

Drop the crop code first and then the holder id.
by josh
November 23rd, 2017, 7:16 am
Forum: Android
Topic: NEEDED HELP URGENTLY TO DUPLICATE THE SAME IDS FROM ONE ROSTER1 TO ROSTER2
Replies: 12
Views: 9218

Re: NEEDED HELP URGENTLY TO DUPLICATE THE SAME IDS FROM ONE ROSTER1 TO ROSTER2

If I am understanding your spreadsheet correctly you want to list the crops for each holder. I would implement that with a checkbox for each holder where the options in the checkbox are for the crops. So you would have a roster with two variables: holder id and crops checkbox. This will be easier th...
by josh
November 23rd, 2017, 7:09 am
Forum: Android
Topic: Problem with selcase function in csentry 7.1
Replies: 3
Views: 3825

Re: Problem with selcase function in csentry 7.1

Can you post an example of an application where it fails? It is working correctly in my tests.
by josh
November 22nd, 2017, 10:06 am
Forum: Other
Topic: The function “FileConcat” dose not concatenate files
Replies: 6
Views: 6047

Re: The function “FileConcat” dose not concatenate files

To get the beta for Android you need to sign up for the beta program on google play. The link is on the beta page: http://www.csprousers.org/beta/
by josh
November 22nd, 2017, 10:05 am
Forum: Synchronization
Topic: bluetooth server device name
Replies: 3
Views: 3934

Re: bluetooth server device name

You can read and write files using setfile, fileread and filewrite from CSPro logic but I doubt that you would be able to modify that file without root.
by josh
November 22nd, 2017, 7:20 am
Forum: Synchronization
Topic: Can you put logic at the end of the survey to synchronize?
Replies: 8
Views: 7454

Re: Can you put logic at the end of the survey to synchronize?

You can't synchronize the main data file from logic from inside the main application. That is a limitation of CSPro. You would have to do this using a menu program. See the "synchronization from logic" example application in the examples folder. You could modify this program so that every ...