On Feb 2, 2008 12:35 AM, Jeremy Keith <[EMAIL PROTECTED]> wrote: > >On Feb 1, 2008 9:57 PM, Gerald Guido <[EMAIL PROTECTED]> wrote: > > > >Thanks > >Benign > > > I usually set a var before my loop for a counter > > then in the loop around the OR I do a CFIF to check that counter against > the listlen > > <cfset listpos = 1> > <cfloop list="#mylist#" index="searchme"> > (field LIKE '%#searchme#%') > <cfif listpos neq listlen(deptlist)> > OR > </cfif> > <cfset listpos = listpos +1> > </cfloop> > > >
I'm sorry I did't get the whole code login. Can you please give me a clue where I should put it.... Can you please tell me more about it. I know it is too much but I really apprecite it if you put some of it around my origial code which has may ORs ad these really got me confused! Thanks Benign ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297967 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

