How do I produce the report were columns are group into Ans_String_Val for specific Ans_Quest
tblAnswers
Ans_QuestProdID = Relates to Product
Ans_Quest = Relates to Question Number
Ans_String_Val = Is the answer to the Question
Ans_UserID = User ID
If Ans_QuestID=201 relates to Soda and
there are ten questions reguarding soda. I want to produce the following report :
Ans_UserID Ans_Quest=1 , ... Ans_Quest=10
111 'Ans_Sting_Val 'Ans_String_Val
for Quest=1' for quest=10
112 'Ans_Sting_Val 'Ans_String_Val
for Quest=1' for quest=10'
113 'Ans_Sting_Val 'Ans_String_Val
for Quest=1 for quest=10'
SELECT Ans_AnsweredByUserID, Ans_String_Val
FROM tblAnswers
WHERE Ans_QuestID=201 and
Ans_Quest=1; WILL give me one column, but HOW to group into one report, without running 10 times to get all.
Thanks any help is greatly appreciated.
Michael
tblAnswers
Ans_QuestProdID = Relates to Product
Ans_Quest = Relates to Question Number
Ans_String_Val = Is the answer to the Question
Ans_UserID = User ID
If Ans_QuestID=201 relates to Soda and
there are ten questions reguarding soda. I want to produce the following report :
Ans_UserID Ans_Quest=1 , ... Ans_Quest=10
111 'Ans_Sting_Val 'Ans_String_Val
for Quest=1' for quest=10
112 'Ans_Sting_Val 'Ans_String_Val
for Quest=1' for quest=10'
113 'Ans_Sting_Val 'Ans_String_Val
for Quest=1 for quest=10'
SELECT Ans_AnsweredByUserID, Ans_String_Val
FROM tblAnswers
WHERE Ans_QuestID=201 and
Ans_Quest=1; WILL give me one column, but HOW to group into one report, without running 10 times to get all.
Thanks any help is greatly appreciated.
Michael