Search found 1801 matches

by Gregory Martin
March 1st, 2012, 5:29 pm
Forum: Entry
Topic: function inc
Replies: 2
Views: 4112

Re: function inc

You could write a user-defined function that will round all of your values. The trick to doing this is to add 0.5 to the value and then call the int function.
function round(value)

    round =
int(value + 0.5);

end;
by Gregory Martin
February 28th, 2012, 4:54 pm
Forum: Entry
Topic: run data entry as batch, how to do that with ecrypted entry?
Replies: 1
Views: 3621

Re: run data entry as batch, how to do that with ecrypted en

As you concluded here , there is no way to Run as Batch a program that has been saved as a .enc file. You'll note that selecting Run as Batch creates new .bch and .ord files but shares the .app, .dcf, and .mgf files of your original data entry application. A .enc obscures those three files and Run a...
by Gregory Martin
February 24th, 2012, 3:34 pm
Forum: Editing
Topic: encrypt cspro batch?
Replies: 2
Views: 5388

Re: encrypt cspro batch?

Unfortunately, it is not possible at the moment to encrypt or obfuscate a batch application. There is no way to create an .enc file for a batch application, like there is for a data entry application. While this is not at all a foolproof method, you can prevent novice users from opening and editing ...
by Gregory Martin
February 21st, 2012, 1:52 am
Forum: Editing
Topic: Dictionary merging
Replies: 9
Views: 17592

Re: Dictionary merging

Are you sure that you did a record sort? When you select the option I highlighted, CSPro will join the cases together before checking if there are duplicates in your file.
by Gregory Martin
February 20th, 2012, 4:39 pm
Forum: Editing
Topic: Dictionary merging
Replies: 9
Views: 17592

Re: Dictionary merging

If you're merging records from different dictionaries, you first must make sure that the ID field is in the same position in both dictionaries and that none of the record types in each dictionary are the same. If this is the case, then I would: 1) Create a new dictionary, NewDict.dcf, by creating a ...
by Gregory Martin
February 8th, 2012, 4:20 pm
Forum: Entry
Topic: CSPro and tablet PCs
Replies: 3
Views: 7084

Re: CSPro and tablet PCs

Macro International (now ICFI) has used CSPro 4.1 on Windows tablets in several countries. My impression is that things have gone well for them, but most of the questions on their surveys have value sets. I saw one of the tablets that they were using and the keyboard only took up maybe 20% of the sc...
by Gregory Martin
February 7th, 2012, 1:36 pm
Forum: Feature Requests
Topic: add global procedural section
Replies: 6
Views: 8789

Re: add global procedural section

One thing you might be interested in is an undocumented function in CSPro that you can override like OnKey and OnStop. On_Focus gets called after the OnFocus of each field on your form, so you can put some global stuff there. This means that the order of execution of a field is: Field PreProc Field ...
by Gregory Martin
February 6th, 2012, 4:32 am
Forum: Tabulation
Topic: Not enough subxcripts
Replies: 2
Views: 5600

Re: Not enough subxcripts

(After looking at this user's dictionary, here is a response for advanced users.) Creating the table you want in CSPro is not particularly straightforward, but hopefully this will help you: 1) Create a table. For my example, I am creating TABLE1, which is just a tally of Q68_A_6. You should create t...
by Gregory Martin
February 6th, 2012, 4:29 am
Forum: Editing
Topic: execsystem
Replies: 2
Views: 5262

Re: execsystem

There are a few tricky things when using CSPro with filenames, especially because CSPro doesn't handle backslashes consistently. On Windows machines the pathname contains backslashes, which also can be used to format text. So it's not always clear what you will get when you write "path\name&quo...
by Gregory Martin
February 6th, 2012, 4:27 am
Forum: Other
Topic: Russian error messages
Replies: 2
Views: 4046

Re: Russian error messages

I don't have a copy, but there is definitely a translation of the error messages into Spanish, as CSPro is widely used in Latin America. While there are more than a thousand error messages in the CSPro.mgf file, many of them are errors that the compiler uses, not messages that would get shown in CSE...