Output getMemberEmailGroupsRet.GroupID and you should see that it is the same value every time. What I would do is build a list of all the subscribed groups using ValueList(), and then you need to do cfif listfindnocase(list_of_subscribed_groups, EmailListArray[x][1]
So basically you are checking each subscribed group against each available group. ~Brad -----Original Message----- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 31, 2007 3:06 PM To: CF-Talk Subject: Re: Check Boxes not checked <cfloop from="1" to="#ArrayLen(EmailListArray)#" index="x"> <cfoutput> <td width="20"> <input type="checkbox" name="emailgroup" value="#EmailListArray[x][1]#" <cfif EmailListArray[x][1] IS getMemberEmailGroupsRet.GroupID> Checked</cfif>> </td> <td> <cfif EmailListArray[x][3] IS 1> <font color="Red">#EmailListArray[x][2]#</font> <cfelse> #EmailListArray[x][2]# </cfif> </td> </cfoutput> <cfif x MOD 4 EQ 0> </tr> <tr> </cfif> </cfloop> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http: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:268273 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4