> Is there a way to have the files below read in from a database and then
> loop through field to eliminate all the code below?
>
> The database field would be as follows:
>
>
test1.txt,text2.txt,tst3.txt,txt4.txt,test5.txt,text6.txt,tst7.txt,txt8.txt
<cfloop index="LineNo" from=#i# to=#i#>
<cfif Session.stDirFileType[i] eq "File">
<cfif not listfind(myQuery.fileList, session.stDirFileName[i])>
</cfif>
</cfif>
</cfloop>
The two IF's could be combined into a single statement with AND also. If
case is an issue, listFineNoCase() can also be used.
-Justin Scott, Lead Developer
Sceiron Internet Services, Inc.
http://www.sceiron.com
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists