<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>
Bruce Sorge "I'm a mawg: half man, half dog. I'm my own best friend!" On 1/31/07, Alan Rother <[EMAIL PROTECTED]> wrote: > > Can you send a larger chunk of the code? > > I cant tell if this code is in a loop or not. > > Also the value getMemberEmailGroupsRet.GroupID > > I am assuming this is from a query? In any case, something above this is > probably the cause of your problem. Best guess, the GroupID is not getting > incremented, if it needs to. Or the x value isn't getting incremented... > > It's hard to tell from this small sample. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:268266 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4