I have a list of names and a roster where DOB can’t be stored as a calendar entry, as a respondent should be allowed to answer DON’T KNOW for month or date.
So the roster has the following separate questions:
q215d Day when born (numeric)
q215m Months when born (single-select categorical from 12 months options, where Jan…1 Feb…2)
q215y Year when born (numeric)
I need to display a summary of all names (from list) and dates of birth from a roster as a static text (as SurSol can’t show summary tables):
Name: %name1% DOB: %d1% %m1% %y1%
Name: %name2% DOB: %d2% %m2% %y2%
To do that I created variables: d1 m1 y1
Where d1 is a long integer variable: ros.q215d
Where y1 is also a long integer variables: ros.q215y
But for m1, when I create a string variable ros.q215m, it says I have a syntax error.
Now, I know that to get a name from a listing question I used a string variables using the following expression (where list is the listing question):
(new Func(() =>
var member = list.Select(x => x.Item2).ToArray();
return member ;
Do you have suggestions on how can I create a string variable that would show a month as text for m1 (based on q215m)?