Ahh...my bad. I didn't think I was 100% clear on the issue.

On 2/10/06, James Holmes <[EMAIL PROTECTED]> wrote:
>
> Not all of the rows have 3 items, according to the original post.
>
> On 2/10/06, John C. Bland II <[EMAIL PROTECTED]> wrote:
> > Can you use a | instead of a , to separate your lists? It seems too
> > confusing visually to read yet alone trying to parse it.
> >
> > <cfset i = 0>
> > <cfloop list="#mylist#" item="i">
> > <cfset i = i + 1>
> > <!--- is this the third record? --->
> > <cfif i MOD 3 EQ 0 AND NOT isValid("email", ListGetAt(mylist, i, "|"))>
> > <!--- do delete here or append ID or whatever to an array and loop array
> for
> > deletes (i don't suggest that though...do it all in 1 loop) --->
> > </cfif>
> > </cfloop>
> >
> > I could be looking at your problem wrong so my apologies if so. This
> > basically loops your list and checks every 3rd item against the isValid
> > function. If it fails, do the delete. If not, move on.
>
> --
> CFAJAX docs and other useful articles:
> http://jr-holmes.coldfusionjournal.com/
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231871
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to