Sure, but at no stage are you looping through getPCtoNCRet. This means that only one value will be matched as the comparison sees only one value from the query.
On 1/6/07, Bruce Sorge <[EMAIL PROTECTED]> wrote: > Actually I do not need the group or maxrows attribute so I took them out, > but that did not change the result. And the three records from > getPCtoNCRet.NC_ID do match three of the 60 some odd records from the array. > > Can you output the values of getPCtoNCRet.NC_ID and NCArray[i][2] to > see that they're the same (which they should be if you're expecting > the checkbox to be checked). > > also...shouldn't your <cfoutput> have a query attribute (since you're > using a group attribute)? > > -- > Charlie Griefer > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:265945 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

