You have maxrows="1" on your <cfoutput>. That means it will only see
one of the three NC_IDs.

I think.


On 1/5/07, Bruce Sorge <[EMAIL PROTECTED]> wrote:
> I have this piece of code:
>
> <cfloop from="1" to="#ArrayLen(NCArray)#" index="i">
>       <cfoutput group="NC_ID" maxrows="1">
>        <td>
>         <input type="checkbox" name="NC_ID" value="#NCArray[i][2]#"
>         <cfif getPCtoNCRet.NC_ID IS NCArray[i][2]> Checked</cfif>>
> &nbsp;#NCArray[i][1]#
>        </td>
>        </cfoutput>
>       <cfif i MOD 4 EQ 0>
>        </tr>
>        <tr>
>        </tr>
>       </cfif>
>      </cfloop>
>
> What is happening is that the only checkbox that is checked is the last one
> in the query result. If I have three NC_ID in the getPCtoNCRet variable,
> then I want all three checkboxes checked. Why is this not happening?
>
> Thanks,
> --
> Bruce Sorge
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265882
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to