Search found 1794 matches

by Gregory Martin
February 25th, 2014, 7:19 am
Forum: Tools
Topic: identify a specific value
Replies: 2
Views: 3937

Re: identify a specific value

Have you looked at the count function? If your data is on a roster, you may be able to use that function to count the number of times that something occurs. If you want to find a particular occurrence, you can use the seek function.
by Gregory Martin
February 20th, 2014, 10:43 pm
Forum: Entry
Topic: CSPro Crashes
Replies: 2
Views: 2845

Re: CSPro Crashes

It is hard to know without seeing your application. If you want, send it to csprousers@gmail.com along with a description of the steps to take to cause the crash. Also, are you using the most recent version of CSPro?
by Gregory Martin
February 19th, 2014, 6:07 am
Forum: Entry
Topic: Import data from another dictionary
Replies: 1
Views: 2954

Re: Import data from another dictionary

You will do this by adding the household dictionary as an external dictionary to your food diary data entry program. Then you can use the loadcase function to look up a particular case and access the data from this case. Take a look at this program to get an idea of how to use lookup files: http://w...
by Gregory Martin
February 18th, 2014, 11:53 pm
Forum: Entry
Topic: Program stops working on data entry
Replies: 3
Views: 4061

Re: Program stops working on data entry

Jon's advice is good for troubleshooting what might be the problem. There are definitely bugs in the CSEntry program itself, but usually people's problems come about due to errors in their logic. For example, they might have set a field to protected but then didn't assign a value to it before the fi...
by Gregory Martin
February 18th, 2014, 11:49 pm
Forum: Entry
Topic: Copy Questionnaire ID from PFF file
Replies: 6
Views: 7663

Re: Copy Questionnaire ID from PFF file

Generally people do pass parameters through the PFF file as Mutua showed. Another option, less used, is to use a lookup file to pass around parameters. The one program will writecase the parameters, and then next program will pick up the parameters using a loadcase statement. This can be useful it y...
by Gregory Martin
February 18th, 2014, 11:46 pm
Forum: Other
Topic: Pre - loading data to CSPro
Replies: 1
Views: 3529

Re: Pre - loading data to CSPro

Right now there is no way to directly import data from Stata into CSPro format. You will have to manually convert the data. The easiest option for you will be to: 1) Export from Stata to Excel format. 2) Following the instructions in the CSPro helps (under the title "Importing Data to CSPro For...
by Gregory Martin
February 18th, 2014, 11:43 pm
Forum: Tabulation
Topic: Trouble with tabulation of data
Replies: 1
Views: 4303

Re: Trouble with tabulation of data

Can you add a variable to your working storage dictionary and then in Tab Logic assign this variable to the sum of items, and then divide by the number of items? If you tabulate this variable, it will be the average response within a single case.
by Gregory Martin
February 18th, 2014, 11:39 pm
Forum: Editing
Topic: Constructing variables for output
Replies: 1
Views: 5101

Re: Constructing variables for output

When you are talking about CSV output, are you talking about an output from the Export Data tool? If so, there are two ways to do this: 1) Modify your dictionary to add the 23 dummy variables, plus the result of your formula. Then, create a batch edit application where you assign to these 24 variabl...
by Gregory Martin
February 18th, 2014, 11:31 pm
Forum: Entry
Topic: Error: A 2020 probably from find() function!
Replies: 4
Views: 3958

Re: Error: A 2020 probably from find() function!

rommydng , Can you test this out using the new beta version of CSPro: http://www.csprousers.org/beta/ When I use CSEntry 5.0 with an .enc file with the find function, I get the problem, but using CSPro 6.0 with a .pen file doesn't give me an error. I seem to recall fixing something related to this ...
by Gregory Martin
February 18th, 2014, 11:21 pm
Forum: Entry
Topic: Use of External list and filters
Replies: 3
Views: 4164

Re: Use of External list and filters

This is a more advanced task that you are asking to do, and it requires using the setvalueset function that Arshad mentioned. If you are comfortable with programming, you may be able to figure out how to use that function. Here is another example: http://www.csprousers.org/beta/MetroSurvey.7z You ca...