Search found 1794 matches

by Gregory Martin
October 20th, 2011, 6:53 pm
Forum: Entry
Topic: Handling more than 10 lists in a checkbox
Replies: 5
Views: 8786

Re: Handling more than 10 lists in a checkbox

In the release version of CSPro 4.1.001, you could only use the numbers 0-9 or the letters A-Z for the multiple check boxes. So if you used 1-9, A-F, as an example, you would make the length of the field 15. In the new beta versions that are available, you can use numbers higher than 9. For example,...
by Gregory Martin
October 20th, 2011, 6:22 pm
Forum: Entry
Topic: What brand and model of tablet do you recommend to use the C
Replies: 3
Views: 4799

Re: What brand and model of tablet do you recommend to use t

Two major survey groups that I have worked with recommend the Asus Eee PC Touch and the Samsung NB30. I have no experience with either model, but those are the suggestions. Things to consider when looking at models include weight, battery life, screen glare, ruggedness, service contract availability...
by Gregory Martin
October 14th, 2011, 4:13 pm
Forum: Editing
Topic: HTML Listing Report
Replies: 4
Views: 7355

Re: HTML Listing Report

I think the problem is that you're using a version of CSPro without the ProgramFiles64 declaration. Download the most recent beta here:

http://www.csprousers.org/testers
by Gregory Martin
October 12th, 2011, 7:57 pm
Forum: Other
Topic: Searching an Array for a Value
Replies: 0
Views: 37296

Searching an Array for a Value

Here's a simple user-defined function that will search an array for a specified value. If found, it will return the index of the value; otherwise it returns 0. function searchArray( array arrayName,findValue) numeric foundPos,itr; do itr = 1 while itr <= tblrow (arrayName) and not foundPos if arrayN...
by Gregory Martin
October 12th, 2011, 1:06 pm
Forum: Tools
Topic: Tool for Locating Incomplete Cases
Replies: 5
Views: 7659

Re: Tool for Locating Incomplete Cases

Try to download this again. I recompiled it on the computer where I created the CSProCodeColorizer (a Windows XP machine that uses different libraries than my Windows 7 machine) , so maybe it will work now.

http://www.csprousers.org/downloads/too ... eCases.zip
by Gregory Martin
October 12th, 2011, 12:57 pm
Forum: Tabulation
Topic: Tabulation with Alpha fields
Replies: 7
Views: 16134

Re: Tabulation with Alpha fields

The reason that this code may not have compiled for you was that you needed to declare several variables at the top of your code. What this function does it check whether a string includes only valid multiple-response characters. The second parameter specifies the number of choices taken from the be...
by Gregory Martin
October 12th, 2011, 12:23 pm
Forum: Entry
Topic: Random Next-Birthday Respondent Selection
Replies: 0
Views: 38511

Random Next-Birthday Respondent Selection

In a country where few people know their birthdays, but where you want to use the next-birthday method of respondent selection, you may consider randomly assigning birthdays to each respondent. From that point, using the datediff, min, and seek functions, it is easy to randomly choose a respondent t...
by Gregory Martin
October 11th, 2011, 1:15 am
Forum: Entry
Topic: Store data's in RDBMS
Replies: 2
Views: 4636

Re: Store data's in RDBMS

Adding this feature to the export tool may be not be so difficult. How would you want different types of records handled? Would each record be a different table in a database (linked through the ID)? And with a multiply occurring record, would a row number field be added? What are your thoughts on h...
by Gregory Martin
October 11th, 2011, 1:05 am
Forum: Tools
Topic: Tool for Locating Incomplete Cases
Replies: 5
Views: 7659

Re: Tool for Locating Incomplete Cases

On the Tools page there is a link at the top for a series of files to download that relate to Microsoft's .NET framework. These is necessary to run this tool. If this doesn't work, run Windows Update several times to make sure that you have the latest versions of the .NET libraries. The .sts file wi...
by Gregory Martin
October 4th, 2011, 12:46 pm
Forum: Entry
Topic: multi occurrence
Replies: 9
Views: 10263

Re: multi occurrence

If you want to skip blanks, it might be easiest (and clearest) to account for this before the loop: PROC VALUE numeric i; if VALUE <> notappl then do i = 1 while and i < curocc () if VALUE(i) = VALUE then errmsg ( "Must enter unique value" ); reenter ; endif ; enddo ; endif ;