In this article
When recoding questions you can also create the syntax "manually". Note that in this case you should have some knowledge of the syntax and methods required, or the procedure could easily become time-consuming. You can build an expression for the recoded variable which follows the pattern:
variable = <expression>
where the expression can be of the form: value [operator value]. Two methods are available:
If the recoded variable is of Type Open Text or Open Text List, you can build an expression referring to an Open Text or Open Text List question.
Example: q1 = q3 + q4 + "_text"
In this case the recoded variable q1 will store the appended text of q3 and q4 (both Open Text variables) with an additional text appended.
If the recoded variable is of Type Numeric or Numeric List you can build an expression referring to a Numeric or Numeric List question.
Example: q2 = q10 * q11
In this case the recoded variable q2 will store the calculated value of q10 * q11 (both Numeric variables). The operators that are allowed in this expression are (+)(-)(*)(/)(%).