carpediem79
Technical User
I am trying to setup a single query that looks through various fields in a table. I run a loop the keeps calling this query, but the variable "count" does not increment. What am I doing wrong?
<cfquery name="ResponseGood" datasource="#application.dsn#">
SELECT Answer#count#
FROM Responses
WHERE SurveyNumber = #FORM.SurveyNumber#
AND Answer#count# = Good
</cfquery>
<cfquery name="ResponseGood" datasource="#application.dsn#">
SELECT Answer#count#
FROM Responses
WHERE SurveyNumber = #FORM.SurveyNumber#
AND Answer#count# = Good
</cfquery>