Hi! I have a details page where I am trying to list names of participants in enrolled in a group. I have the following calculated field, but instead of only showing the names associated with the Group_ID, it's listing all of the names in the table. Can anyone point me into where I am potentially going wrong here?
SELECT
Participant_Name= STUFF((SELECT DISTINCT CHAR(10) + (Participant_Name)
FROM FSE_Groups_Topics_Participants
WHERE Group_ID = [@field:Group_ID]
FOR XML PATH('')), 1, 1, '')
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
KateyN
Hi! I have a details page where I am trying to list names of participants in enrolled in a group. I have the following calculated field, but instead of only showing the names associated with the Group_ID, it's listing all of the names in the table. Can anyone point me into where I am potentially going wrong here?
SELECT
Participant_Name= STUFF((SELECT DISTINCT CHAR(10) + (Participant_Name)
FROM FSE_Groups_Topics_Participants
WHERE Group_ID = [@field:Group_ID]
FOR XML PATH('')), 1, 1, '')
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.