Nice, I never woulda gotten that, that way. Thanks :)
ok now teach me cfajax real quick like!! ;) ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! ---------------------------------------- From: James Holmes <[EMAIL PROTECTED]> Sent: Friday, February 10, 2006 3:58 AM To: CF-Talk <[email protected]> Subject: Re: parsing a list After that code has run, the rows you are after (names and email) are in the wantedRows arrray. So to output them do a similar loop: #wantedRows[j]# If you want to do the inserts, do them in place of the cfoutput, using your list functions again to get the right bits: ListGetAt(wantedRows[j],1) is the first name ListGetAt(wantedRows[j],2) is the last name ListGetAt(wantedRows[j],3) is the email address On 2/10/06, dave wrote: > ok, thats over my head lol > After the loop what do I need to call for output? Obviously If i used my same > variable I would get the origianl list back, pre-process. > > thanks James > > ~Dave the disruptor~ > I forgot what I was gunna put here, Will woulda stole it anyways! > > ---------------------------------------- > From: James Holmes > Sent: Friday, February 10, 2006 3:36 AM > To: CF-Talk > Subject: Re: parsing a list > > After you upload the file, use this: > > ListGetAt(allRowsArray[i],3) CONTAINS "@"> > > On 2/10/06, dave wrote: > > When doing either I get a error saying I can't convert a simple value to a > > complex value, so I will start from scratch, if you wanna help cool if not > > thats cool too and thanks either way. > > > > a short copy of the files I will have to work with www.jamwerx.com/text.TAB > > > > first I upload it: > > > > Filefield="FileContents" > > DESTINATION="#request.perge#temp.txt" > > Nameconflict="overwrite" > > accept="text/plain, application/x-tab-delimited, application/tab, > > application/octet-stream"> > > > > then I read it: > > > > > > then I replace the tabs: > > > > > > > > to see that list do a simple loop: > > > > #i# > > > > > > Its at this point that I'm getting stuck, if i then try to go listtoarray > > it errors as well. > > -- > CFAJAX docs and other useful articles: > http://jr-holmes.coldfusionjournal.com/ > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231887 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

