I have a query that retrieves an ID, comments, and status column from my table. Both the comments and status can be updated by the user on the page. The ID is used to update each record. I have set it up so that a loop will occur based on the query RecordCount but the counter returns the value multiply times:
i.e. RowCount = 3, 3, 3
If I manually update my syntax to show the the loop counter as 3, it works fine. I am using the cfoutput tag to output to an HTML table so, the tag is located within the table. Would this matter? Anyways, here is my syntax for setting the record count:
<form action="cit_update.cfm" method="post" id="citUpdate">
<input type="hidden" name="RowCount" value="#ReviewExpand.RecordCount#">