Search found 134 matches

by justinlakier
March 28th, 2024, 9:57 am
Forum: Synchronization
Topic: error sync data via dropbox
Replies: 1
Views: 55

Re: error sync data via dropbox

Hello, Could you please attach the Sync.log file from your device? You can find this in your CSEntry folder on your Android device or your CSPro folder on your Windows device. If using Windows you can find it by opening CSPro and going to Help -> Troubleshooting. The sync.log file will provide more ...
by justinlakier
March 26th, 2024, 11:28 am
Forum: Entry
Topic: Urgent Assistance Needed: Script Overflow Issue Causing Program Shutdown!
Replies: 4
Views: 340

Re: Urgent Assistance Needed: Script Overflow Issue Causing Program Shutdown!

Hello, I have attached a modified working version which I will explain. It required multiple dictionary changes. You should be using loadcase() to load the case and its values rather than find() or findcase. As demonstrated in the example on the loadcase page, the dictionary name argument should not...
by justinlakier
March 25th, 2024, 11:09 am
Forum: Entry
Topic: Randomize ROSTER
Replies: 3
Views: 345

Re: Randomize ROSTER

Hello, First, make a list of all the indexes of the roster that you want to randomly select from. Use RandomIn() to pick a random index from here, adding all the details Name(index), Age(index), Sex(index), etc from your old roster to your new roster at row 1. Then remove the chosen index from your ...
by justinlakier
March 25th, 2024, 10:53 am
Forum: Android
Topic: Exit CAPI data entry without saving data
Replies: 1
Views: 283

Re: Exit CAPI data entry without saving data

Hello, Stop(1) is the correct way to exit CAPI Data Entry without saving data. If the problem you are having is that it is not waiting until the file upload task is completed, then you need to arrange your code so that Stop(1) is only called after the upload is completed. You can either call it afte...
by justinlakier
March 18th, 2024, 10:17 am
Forum: Entry
Topic: Itemlist function
Replies: 4
Views: 303

Re: Itemlist function

Hello, It's just as the compile error message says. You can no longer use arrays for value sets, and must use the new ValueSet Object which you can declare with ValueSet Statement . Further functions like adding to or clearing the object are listed in the Object's documentation page along with demon...
by justinlakier
March 15th, 2024, 4:50 pm
Forum: Entry
Topic: CSWeb user name in exported data file
Replies: 1
Views: 90

Re: CSWeb user name in exported data file

Hello, If you want to capture a user's name during data entry, you need to either ask them their username on the form and record it to a field in the dictionary, or automatically set their name as a dictionary variable without putting that variable on the form. CSWeb user name is not associated with...
by justinlakier
March 15th, 2024, 11:35 am
Forum: Entry
Topic: datediff function
Replies: 8
Views: 6913

Re: datediff function

This is an 11 year old thread. Please try not to add to "dead" threads that are more than a year old. Furthermore, the existing answers in this thread should already demonstrate the sysdate() and datediff() functions you need. You can look to the documentation for more on these functions. ...
by justinlakier
March 14th, 2024, 1:46 pm
Forum: Tools
Topic: Frequency order
Replies: 1
Views: 183

Re: Frequency order

Hello,

When using the Freq Statement (named or unnamed), you can change the order of variables in the listing by changing their order in the include() section. They will be listed in the same order as the include() section rather than dictionary order.

Hope this helps,
Justin
by justinlakier
March 14th, 2024, 1:17 pm
Forum: Entry
Topic: Codification mode problem.
Replies: 1
Views: 102

Re: Codification mode problem.

Hello, This hang is not due to an error in the code. The hang is caused by lag, which is due to the size of the application. The value set for the field PROFES has thousands of entries. If you remove or reduce the size of this value set then the application will no longer lag on the question and be ...
by justinlakier
March 8th, 2024, 11:24 am
Forum: Synchronization
Topic: Application Not Found Message at dropbox
Replies: 3
Views: 130

Re: Application Not Found Message at dropbox

Hello, If this is a problem with folder permissions. you can make the folder public for the duration of the download period if there is no sensitive data in the folder. If they can download the file on DropBox by logging into the DropBox site but still can't access DropBox through CSEntry, please sh...