>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>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:297965
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4