Dear Tuan,
I would like to explain how to import Variables from SPSS to CSPro directly without spending more times.
I also faced that problem and CSPro can't support that feature.
But I can import SPSS Variables with my own technique.
Here step by step :
1. Copy Variable Name,Variable Width, Variable Label from SPSS and Paste to Microsoft Excel.
2. Prepare Excel File as follow
1st Column with " [item]"
2nd Column with "Label="
3rd Column with Labels from SPSS
4th Column with "Name="
5th column with Variable Name form SPSS
6th Column with "Start="
7th column with some value 3,4,5 as you like
8th Column with "Len="
9th Column with Width from SPSS
10th Column CONCATENATE Function to Combine previous Columns (See Attached file)
After That
Copy all text form Combine column and pasted in Word
after pasted to Word to convert Table to Text format 1. courser on table Layout Tab==> Convert to text
Use Find and Replace==>Special >>Manual Line Brake to make manually enter
e.g Find [item] and Replace [item]^l
[img]D:\Pictures\Word_3.png[/img]
[img]D:\Pictures\Word_4.png[/img]
Finally U will get as follow
[item]
Label=Question Number
Name=Question_No
Start=4
Len=4
[item]
Label=Gender of respondent
Name=Gender
Start=8
Len=1
[item]
Label=Age of respondent
Name=Age
Start=9
Len=3
[item]
Label=High level of Education
Name=Education
Start=12
Len=2
[item]
Label=Marital Status of respondent
Name=Marital_Status
Start=14
Len=2
[item]
Label=Occupation
Name=Occupation
Start=16
Len=2
[item]
Label=Race of respondent
Name=Race
Start=18
Len=2
[item]
Label=Religion of Respondent
Name=Religion
Start=20
Len=2
Create New CSPro DataEntry Application
Open Dictionary File with some text editor software : (I use Notepad++ , UltraEdit)
Find
[Record]
Label=xxxxxx
Name=xxxxx
RecordTypeValue='1'
RecordLen=xxx
Copy from word and Paste that
Save and Close text editor
Open CSPro normally
Now U can see all SPSS variables are Imported to CSPro
You do not have the required permissions to view the files attached to this post.