Search found 1810 matches

by Gregory Martin
May 4th, 2012, 10:49 pm
Forum: Tools
Topic: Problem concatenate several files
Replies: 14
Views: 13643

Re: Problem concatenate several files

The concatenate tool was designed for combining CSPro data files, which don't contain headers, so the situation that you are faced with is slightly unusual. You could combine multiple files using a batch application, only writing out the header once, but this might be a lot of work for what you are ...
by Gregory Martin
May 3rd, 2012, 5:33 pm
Forum: Entry
Topic: Unable to add occurrence to the roster while modifying previ
Replies: 3
Views: 8309

Re: Unable to add occurrence to the roster while modifying p

When you open a case in modify mode, the number of occurrences of a record is equal to the number entered during the initial keying. For example, if you have a record that repeats 10 times and you enter five records during keying, when you go to modify mode, clicking on rows 6-10 will give you an er...
by Gregory Martin
April 30th, 2012, 4:18 am
Forum: Entry
Topic: Difference between skip and advance
Replies: 1
Views: 4256

Re: Difference between skip and advance

In the CSPro helps, this is what is said about each: The skip statement skips to the specified field. If the field has multiple occurrences, either record or item, the occurrence number must be specified to skip to the correct occurrence. The advance statement moves forward field-by-field to the spe...
by Gregory Martin
April 18th, 2012, 1:03 am
Forum: Entry
Topic: onstop() in rosters
Replies: 4
Views: 5923

Re: onstop() in rosters

I just did a test and OnStop gets executed when I'm in a roster. Are you saying that it isn't called at all for you? That seems like it would be a bug.

Perhaps you can upload your code so we can take a look at it.
by Gregory Martin
April 12th, 2012, 10:50 am
Forum: Entry
Topic: How can we lock dictionary file when we have a final one
Replies: 4
Views: 6582

Re: How can we lock dictionary file when we have a final one

You have two options: 1) You can create an .enc file to distribute as your data entry application. This cannot be modified in any way by the keyers. See here for more about this: http://www.csprousers.org/help/generate_binary_data_entry_application.htm 2) For less security, but something that doesn'...
by Gregory Martin
April 11th, 2012, 10:28 am
Forum: Entry
Topic: Modify the dictionary
Replies: 5
Views: 6962

Re: Modify the dictionary

In general there are two ways to add items (new questions) to a dictionary: 1) Add the items to the end of a record, as Maria mentioned. 2) Add the items anywhere in the record and then use CSPro's Reformat Data tool to convert your data files to the new format. If you use this approach, you must ke...
by Gregory Martin
April 10th, 2012, 6:32 pm
Forum: Entry
Topic: How to use f8 function
Replies: 2
Views: 4206

Re: How to use f8 function

The "Press F8 to clear" messages means that the error message box will disappear when the keyer presses F8. "Clear" refers to the error message, not the contents of the field. If you want to prevent the user from moving to the next field, you use the reenter command. For example,...
by Gregory Martin
April 5th, 2012, 2:45 am
Forum: Entry
Topic: Contents of .enc File
Replies: 1
Views: 3965

Re: Contents of .enc File

If you only have an .enc file, you cannot view the logic in any meaningful way. Essentially the .enc is a zipped file of the contents of your application as they are stored in memory. If you the rename the .enc file to .zip, you can unzip it and see that all of your application's files are contained...
by Gregory Martin
April 5th, 2012, 2:45 am
Forum: Entry
Topic: capture data using barcode readers/scanner and directly ente
Replies: 8
Views: 9603

Re: capture data using barcode readers/scanner and directly

You should be able to do this but it depends on the barcode scanner that you are using. Some barcode scanners work by putting out their result as plain text numbers with the value of the barcode. This could work in a data entry application, you would just have to make sure that the field is long eno...
by Gregory Martin
April 5th, 2012, 2:45 am
Forum: Entry
Topic: How to show long error messages?
Replies: 1
Views: 3953

Re: How to show long error messages?

To cut messages across several lines in your logic file, you can use the concat function like this: errmsg ( concat ( "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" , "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB" )); The concat function will join al...