Search found 2399 matches

by josh
February 2nd, 2016, 6:35 am
Forum: Other
Topic: Location search
Replies: 6
Views: 6244

Re: Location search

You want CSPro to tell you the name of the town you are in?
by josh
February 1st, 2016, 6:45 am
Forum: Other
Topic: Location search
Replies: 6
Views: 6244

Re: Location search

I think you will need to explain what you mean.
by josh
January 29th, 2016, 3:51 pm
Forum: Entry
Topic: Create a fake data
Replies: 2
Views: 2760

Re: Create a fake data

In CSPro designer if you right click on the dictionary in the file tree on the left side of the screen and choose dictionary macros there is an option to generate random data. Note that since this uses the dictionary only the data generated will not satisfy consistency checks between variables.
by josh
January 28th, 2016, 2:59 pm
Forum: Entry
Topic: Random Questions
Replies: 1
Views: 2241

Re: Random Questions

It should be possible but you will need to write some logic. I would make an array for the possible values of each attribute and then use the random function to generate a random index to each array. So if you have 10 prices you would make an array of prices and then generate a random number between...
by josh
January 28th, 2016, 7:29 am
Forum: Entry
Topic: lookup
Replies: 6
Views: 6746

Re: lookup

The problem could be that the AG_roster dictionary in the SJRIAG application expects a record type in column 1 but when you write the lookup you write the village number in the first column. The quick fix for this is to remove the record type from the AG_roster dictionary by setting its length to ze...
by josh
January 28th, 2016, 6:57 am
Forum: Other
Topic: SnapShot
Replies: 3
Views: 4235

Re: SnapShot

Search this forum for photo. There have been a number of postings discussing this already.
by josh
January 27th, 2016, 11:27 am
Forum: Entry
Topic: lookup
Replies: 6
Views: 6746

Re: lookup

Please point me to the application and proc where you create the lookup and the application and proc where you try to use the lookup. Specify the filenames and line numbers if possible. I don't know which one is the adolescent program.
by josh
January 25th, 2016, 6:32 pm
Forum: Entry
Topic: setvalueSet, extracting from multiple choice question
Replies: 39
Views: 28532

Re: setvalueSet, extracting from multiple choice question

You could use this function in place of pos() in the example above so just take that example and replace pos() with isChecked().
by josh
January 25th, 2016, 12:42 pm
Forum: Entry
Topic: lookup
Replies: 6
Views: 6746

Re: lookup

It depends on how you want to show the lookup file. Generally you will use loadcase() to load the data from the lookup file and copy it into the appropriate fields of the roster. You will probably need to use a do loop to do this. You can see some examples of working with lookup files at http://tele...
by josh
January 19th, 2016, 7:05 am
Forum: Entry
Topic: Mobile number/Phone number duplication Check
Replies: 2
Views: 4930

Re: Mobile number/Phone number duplication Check

Only the id items are checked for duplicates by CSPro and it is only the entirety of the id items that is checked, not each field. In other words, if you have 3 id items A, B and C you can have two cases that have the same value for A as long as they have different values for B and C. This means tha...