Combine answers from previous question.
Posted: March 17th, 2022, 9:41 am
I would like to set the Household ID code automatically by combining the Province code and District code. How to combine answers from the previous questions?
(numeric) If the Province code is 1 and the District code is 23, the Household ID should come automatically as 123.
(Alphanumeric) If the Province code is A and the District code is 23, the Household ID should come automatically as A23.
For example, if I want to set the Household ID code automatically as the same as the Province code, the logic is:
PROC HOUSEHOLD_ID
Preproc
$ = PROVINCE;
Like this way, how can I preset the answer by combining answers from the previous questions?
(numeric) If the Province code is 1 and the District code is 23, the Household ID should come automatically as 123.
(Alphanumeric) If the Province code is A and the District code is 23, the Household ID should come automatically as A23.
For example, if I want to set the Household ID code automatically as the same as the Province code, the logic is:
PROC HOUSEHOLD_ID
Preproc
$ = PROVINCE;
Like this way, how can I preset the answer by combining answers from the previous questions?