I'm hoping someone can help me figure this out! I am using my returned data to fill in a form. There is one question on the form that can have multiple answers, Q8ReasonA-Q8ReasonH. My goal is to display each answer in sequence without space between them.
For example, if person answered question 8 by selecting B, F, and H, I want it to display:
- Question eight? Answer: B, F, H
Right now it's displaying spaced out (leaving blank space where the A answer would be for example). Here's part of my code:
SELECT DISTINCT SFA.DOB, SFA.Name, SFA.SupvsrName,
SFA.Question8,MFA.Q8ReasonA, MFA.Q8ReasonB, MFA.Q8ReasonC,
MFA.Q8ReasonD, MFA.Q8ReasonE, MFA.Q8ReasonF, MFA.Q8ReasonG, MFA.Q8ReasonH
FROM SingleFileAnswer SFA
JOIN MultipleFileAnswer MFA on SFA.SupvsrID=MFA.SupvsrID
WHERE SFA.SupvsrID=1234