let say i have below query:
<CFQUERY NAME="GetAnswered" DATASOURCE="abc">
SELECT *
FROM NumericAnswers
WHERE AccountsId = '#SESSION.Auth.AccNum#'
AND QuestionsGroupId In (2,3,4,5,6,7,8,53,54,9,10,11)
</CFQUERY>
<CFOUTPUT query="GetAnswered">
<cfloop index="i" list="#QuestionsId#">
#i#,
</CFLOOP>
</CFOUTPUT>
The output of #i# looks like 3,4,5,6,7,9,
Is there any way to store above output into a variable so I can search through it?
Thank you in advanced.
Mike
<CFQUERY NAME="GetAnswered" DATASOURCE="abc">
SELECT *
FROM NumericAnswers
WHERE AccountsId = '#SESSION.Auth.AccNum#'
AND QuestionsGroupId In (2,3,4,5,6,7,8,53,54,9,10,11)
</CFQUERY>
<CFOUTPUT query="GetAnswered">
<cfloop index="i" list="#QuestionsId#">
#i#,
</CFLOOP>
</CFOUTPUT>
The output of #i# looks like 3,4,5,6,7,9,
Is there any way to store above output into a variable so I can search through it?
Thank you in advanced.
Mike