Search found 2399 matches

by josh
May 4th, 2017, 7:36 am
Forum: Entry
Topic: How to detect duplicates cases ?
Replies: 9
Views: 7460

Re: How to detect duplicates cases ?

You should be able to use the keylist function for this. Get the list of keys from your dictionary and then loop through it to check the ids entered against the list of other ids in the file.See the example for keylist in the help.
by josh
May 4th, 2017, 7:24 am
Forum: Entry
Topic: Logging operator ID with cases entered
Replies: 10
Views: 9642

Re: Logging operator ID with cases entered

I copied and pasted your code into an application I created and I get no error. In my dictionary OPERATOR_ID is a length 50 alpha.

Post the whole application by using the pack application tool to create a zip file.
by josh
May 2nd, 2017, 4:01 pm
Forum: Entry
Topic: how to end a roster in a numeric type.
Replies: 3
Views: 4094

Re: how to end a roster in a numeric type.

If you are using system controlled mode (default when you select new CAPI application) then by default you are not allowed to enter blanks for numeric fields. You can change that behavior using the Set Behavior Canenter Statement in your application logic (look in the help for details). Add the foll...
by josh
May 2nd, 2017, 8:39 am
Forum: Entry
Topic: How to capture system time in CSPro?
Replies: 5
Views: 5097

Re: How to capture system time in CSPro?

Here is an example: http://teleyah.com/cspro/DCJune2015/07- ... urvey7.zip

Look at PROC INTERVIEW_START_TIME_HOURS
by josh
May 2nd, 2017, 8:35 am
Forum: Entry
Topic: Logging operator ID with cases entered
Replies: 10
Views: 9642

Re: Logging operator ID with cases entered

I don't see anything wrong with line. Maybe an error in a line nearby is getting reported in the wrong place. Can you post your app so we can see the whole thing?
by josh
May 1st, 2017, 3:14 pm
Forum: Entry
Topic: Logging operator ID with cases entered
Replies: 10
Views: 9642

Re: Logging operator ID with cases entered

Is OPERATOR_ID in your dictionary alphanumeric or numeric? You might that get error when comparing a numeric variable to string like "". You probably want OPERATOR_ID to be alphanumeric.
by josh
May 1st, 2017, 6:26 am
Forum: Entry
Topic: How to capture system time in CSPro?
Replies: 5
Views: 5097

Re: How to capture system time in CSPro?

You can use the systime() function. The help page for it has an example of getting in HH:MM:SS format.
by josh
April 29th, 2017, 10:03 pm
Forum: Entry
Topic: Runing error message
Replies: 1
Views: 2127

Re: Runing error message

Copy the application outside of program files directory. Windows does not let you write the data file in that directory. Try putting in on the desktop or under the documents folder.
by josh
April 28th, 2017, 4:27 pm
Forum: Entry
Topic: Export with text data in Dari/arabic
Replies: 4
Views: 4303

Re: Export with text data in Dari/arabic

Greg is working on supporting unicode export to Stata. Should be ready soon.
by josh
April 28th, 2017, 10:31 am
Forum: Other
Topic: Running CSPro on Local Area Network for multiple users
Replies: 3
Views: 5413

Re: Running CSPro on Local Area Network for multiple users

For CSPro 6.3 stick with the Kakinyi technique. For CSPro 7, you could still use this but you have two other options: 1) If you use the csdb file format you can have the data file on a network drive and have multiple keyers open the same file to key directly into it. This means you don't have to dea...