Sylvain, for an illustration of what Josh is talking about, see this:
http://www.csprousers.org/help/html/imp ... format.htm
Search found 1794 matches
- March 21st, 2016, 1:42 pm
- Forum: Entry
- Topic: problem with excel2cspro
- Replies: 10
- Views: 8234
- March 7th, 2016, 10:39 am
- Forum: Entry
- Topic: programmatically set whether a record is required?
- Replies: 5
- Views: 5044
Re: programmatically set whether a record is required?
There is no way to do this programmatically. Why not just set it as "not required"? Even with that setting, if you run in system-controlled mode, you still determine whether or not data is entered into a record. Even if a record is "not required," if your data entry program's pat...
- February 29th, 2016, 11:21 am
- Forum: Entry
- Topic: how to custom cspro default error message
- Replies: 7
- Views: 6209
Re: how to custom cspro default error message
If you want the special messages to appear on all machines, you have three options: 1) After installing CSPro, copy your special message file to the C:\Program Files (x86)\CSPro 6.2 folder. 2) Distribute the CSProRuntime.mgf file in the same folder as your data entry application. Put it in the same ...
- February 22nd, 2016, 3:03 pm
- Forum: Entry
- Topic: How to Write A Condiotion In CAPI Questions
- Replies: 11
- Views: 11013
Re: How to Write A Condiotion In CAPI Questions
Unfortunately you can only do the most basic conditional checks in the CAPI question text. What you can do is create a variable and use it in the conditional checks. For example, in PROC GLOBAL, you might add a variable named something like CapiConditionalQ103. Then in the preproc of Q103 you would ...
- February 15th, 2016, 5:39 am
- Forum: Entry
- Topic: LOOK-UP FILE not working properly
- Replies: 1
- Views: 1974
Re: LOOK-UP FILE not working properly
We responded to this by email, but for anyone else reading this, the problem wasn't the logic, but was instead that the lookup file wasn't being attached to the data entry program at runtime. When running your data entry program from the CSPro Designer, you get a screen where you have to associate f...
- February 4th, 2016, 1:38 pm
- Forum: Entry
- Topic: Different variables in protected fields
- Replies: 3
- Views: 3582
Re: Different variables in protected fields
The problem with that initial code is that CSPro uses = as both an assignment operator and a conditional operator (does X equal Y?). In your loop it was being used as a conditional operator when you instead wanted it used as an assignment operator. You could modify your code to this: seed ( systime ...
- February 3rd, 2016, 11:49 am
- Forum: Entry
- Topic: Double entry
- Replies: 2
- Views: 2632
Re: Double entry
You will likely want to reenter the field after displaying the error message, so the complete logic may look like this: PROC CONTROL_NUMBER_CHECK if CONTROL_NUMBER <> CONTROL_NUMBER_CHECK then errmsg ( "Control numbers do not match" ); reenter ; endif ;
- February 3rd, 2016, 11:42 am
- Forum: Tools
- Topic: failure to run batch program to export to STATA
- Replies: 3
- Views: 8608
Re: failure to run batch program to export to STATA
pelin, can you send us your export specification (the dictionary .dcf file along with the export .exf file)? If so, we can try to figure out why this isn't working for you in Windows 10. cspro@lists.census.gov
- February 3rd, 2016, 11:40 am
- Forum: Other
- Topic: Location search
- Replies: 6
- Views: 6275
Re: Location search
There is no way to directly lookup the city / location where you are located using the GPS coordinates. There are web services that will do this for you, but you could not call them directly from within CSEntry. If your survey were in a location and you knew all the city names for that area, you cou...
Re: Postproc
This kind of check works better in the preproc. That way, before you ask the question about each race group, you can check against the POPULATION variable. Like this: PROC Q_105 preproc if POPULATION = 1 then skip to Q_106; endif ; PROC Q_106 preproc if POPULATION = 2 then skip to Q_107; endif ;