What is wrong with this code, does not work ?
I have a page where I display line items. I have a checkbox next to each so that if I want to delete that line, I check the box. Here is the code :
<td valign="top" class="TitleText" align="center">
<cfinput type="checkbox" name="delRecords" value="#serialNumberID#"></td>
<td valign="top" class="TitleText" align="center">#conditionCode#</td>
<td valign="top" class="TitleText" align="center">#materialNumber#</td>
<td valign="top" class="TitleText" align="center">#quantity#</td>
<td valign="top" class="TitleText" align="center">#dollarformat(unitValue)#</td>
I do not acutally delete but update a status flag to 0. This is what I am doing :
update gfmSerialNumbers
set status = 0
where serialNumberID IN (#listQualify(form.delRecords, "'")#)
However, it is now working since the status flag is never 0. What am I doing wrong ?