Search found 1794 matches
- February 14th, 2013, 3:45 pm
- Forum: Entry
- Topic: Any way to get a printout of a case, with value labels?
- Replies: 9
- Views: 12295
Re: Any way to get a printout of a case, with value labels?
One thing, to address the issue of alphas in tabulation. You cannot tabulate alpha variables, but you can run frequencies on them. When you click Run in the Tabulate Frequencies tool, you'll see that a group of files called CSFrqRun are created in the folder where your dictionary is located. If you ...
- February 14th, 2013, 3:28 pm
- Forum: Entry
- Topic: Function to check duplicate values in multiple response vari
- Replies: 3
- Views: 4891
Re: Function to check duplicate values in multiple response
lls and hannesrr both present reasonable ways to check to see if a value is duplicated in a repeating item. There is no CSPro function that can automatically return to you whether or not there was a duplicate across the items. You could use hannesrr 's code but you would have to change the code to ...
- February 14th, 2013, 2:40 pm
- Forum: Other
- Topic: Calculate Time Duration
- Replies: 1
- Views: 4880
Re: Calculate Time Duration
One way you could do this is to do all of the calculations in minutes. For example, if your variables are M13_H (hour) and M13_M (minute), you could get the difference in minutes with the following code: M15 = low ( 99 , ( M14_H * 60 + M14_M ) - ( M13_H * 60 + M13_M ) ); That assumes that the interv...
- February 14th, 2013, 2:26 pm
- Forum: Feature Requests
- Topic: Allow programmatic access to CAPI text
- Replies: 2
- Views: 4378
Re: Allow programmatic access to CAPI text
Unfortunately there is no way to programmatically access the CAPI text. However, you can get it in XML format if you want. To do this, go to the CSPro installation folder and run the tool ExportXMLMetadata. You can then select the QSF file that contains your CAPI text and you can export it to XML fo...
- February 12th, 2013, 4:54 pm
- Forum: Entry
- Topic: moving from roster to repeat entry in subsequent form
- Replies: 2
- Views: 3707
Re: moving from roster to repeat entry in subsequent form
Hey Emily, Can you clarify exactly what you're trying to do. It's a bit hard for me to understand without seeing your code. Might the endgroup statement work for your purposes, something like: PROC FIRST_FIELD_ON_SECOND_ROSTER preproc if curocc () > totocc (HL000) then endgroup ; endif ;
- February 12th, 2013, 4:46 pm
- Forum: Entry
- Topic: Numeric keyboard doesn't work properly
- Replies: 4
- Views: 5111
Re: Numeric keyboard doesn't work properly
This sounds strange. You might consider posting your application to this board so that we can look at it, or you can email it to me: gregory.martin@census.gov.
Is it possible that your application has an OnKey function which is overriding some of the numeric keypad keystrokes?
Is it possible that your application has an OnKey function which is overriding some of the numeric keypad keystrokes?
- February 4th, 2013, 10:24 pm
- Forum: Other
- Topic: Text Alignment
- Replies: 3
- Views: 4230
Re: Text Alignment
Under the text entry box where you enter your responses, click on the "Upload attachment" tab and then you can upload your image.
- February 4th, 2013, 2:28 pm
- Forum: Entry
- Topic: Any way to get a printout of a case, with value labels?
- Replies: 9
- Views: 12295
Re: Any way to get a printout of a case, with value labels?
Are you trying to avoid using another statistics package? Doing what you want would be quite easy if you exported the data to SPSS, Stata, or SAS formats. Otherwise there is no really easy way to do this (despite it seeming like a very easy task). You could write logic to do this, using the getlabel...
- February 4th, 2013, 2:14 pm
- Forum: Entry
- Topic: stop numeric in alpha field
- Replies: 3
- Views: 4657
Re: stop numeric in alpha field
There is no way to do this for every alpha field. You will have to do something similar to what Arshad mentioned, where you override the OnKey function and specify the fields where you don't want numeric values entered. Something like this: function OnKey(keystroke) OnKey = keystroke; if getsymbol (...
- February 4th, 2013, 2:10 pm
- Forum: Entry
- Topic: How can I use setvalueset with alphanumeric field? Resolved
- Replies: 3
- Views: 5437
Re: ¿How can I use setvalueset with a alphanumeric field?
I suspect that there are two problems here: 1) You are executing the code in the postproc of ALPHAFIELD_ACT1. Don't you want to run it before you get to the field? 2) CSPro isn't entirely consistent between when arrays are 0-indexed and when they are 1-indexed. The setvalueset function requires the ...