Search found 160 matches

by justinlakier
April 11th, 2024, 1:56 pm
Forum: Entry
Topic: gps function in preproc
Replies: 4
Views: 1222

Re: gps function in preproc

Hello,

Could you attach your zipped application either here or in an email to cspro@lists.census.gov, along with instructions on how to reproduce the error? This will help us test to find out why this error is occurring.

Thank you,
Justin
by justinlakier
April 11th, 2024, 11:16 am
Forum: Feature Requests
Topic: List of Lists
Replies: 2
Views: 611

Re: List of Lists

Hello, A List is one-dimensional and can hold either numeric or string values. It cannot contain other lists. For this, you may want to use a multidimensional Array to hold your list values. In the example below, the array has 2 dimensions- the first dimension for the number of lists to keep track o...
by justinlakier
April 11th, 2024, 10:41 am
Forum: Entry
Topic: HTMLdialog hide buttons
Replies: 6
Views: 1075

Re: HTMLdialog hide buttons

Hello, The htmldialog function comes with Display Options which you can use to resize your message. You can also test this with CSCode. If this is not a resizing issue that is making parts of the message invisible, could you attach your application here or send to cspro@lists.census.gov, with screen...
by justinlakier
April 11th, 2024, 12:17 am
Forum: Entry
Topic: How to identify the usage of the arrow keys
Replies: 6
Views: 1180

Re: How to identify the usage of the arrow keys

Hello, Pushing the right arrow to advance is the same as advancing with the Enter key on Windows, or advancing through logic on Android. When advancing it will execute the postproc of the current field and then the preproc of the next field as normal. If pushing the left button it will go back to th...
by justinlakier
April 10th, 2024, 11:59 pm
Forum: Entry
Topic: randomly selection of eligible participant from the roster
Replies: 1
Views: 674

Re: randomly selection of eligible participant from the roster

Hello, This answer on the forum should help with randomly selecting from a list of valid participants. This is a very common question, so if you follow the links provided you will see many different answers for how to select a random eligible group from a roster. Finding the first eligible participa...
by justinlakier
April 8th, 2024, 2:40 pm
Forum: Android
Topic: Stranging behaviour of multi language CAPI application: Showing previous case value set and CAPI Text
Replies: 4
Views: 844

Re: Stranging behaviour of multi language CAPI application: Showing previous case value set and CAPI Text

Hello, CAPI Text and value sets should both automatically reset between cases without need for any sort of "refresh". This is not an error we are familiar with. Please attach your zipped application and any necessary lookup data files so that we can test this. If the application or any nec...
by justinlakier
March 28th, 2024, 9:57 am
Forum: Synchronization
Topic: error sync data via dropbox
Replies: 1
Views: 7447

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: 5
Views: 7100

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: 4
Views: 8800

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: 7921

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...