oi Rodney!!
if you are using CF5, you could always re-query the directory query based on your
list.... using an [[IN]] statement
--
Critz
Certified Adv. ColdFusion Developer
Crit[s2k] - <CF_ChannelOP Network="Efnet" Channel="ColdFusion">
------------------------------------
Thursday, May 30, 2002, 3:03:50 PM, you wrote:
BRSHS> Hello all
BRSHS> I am using <CFDIRECTORY> to grab file info.
BRSHS> but I only want to display info on files in a pre-chosen list.
BRSHS> I know you can loop through <CFDIRECTORY> like a query.
BRSHS> but how would I do something like this:
BRSHS> other info here
BRSHS> filefromlist (size) (date last modified)
BRSHS> filefromlist "" ""
BRSHS> filefromlist "" ""
BRSHS> more info
BRSHS> it would cumbersome to run the loop for each file, is there an
BRSHS> easier way:
BRSHS> <CFLOOP filelist>
BRSHS> <CFDIRECTORY>
BRSHS> <CFIF CFDIR.filename = listfilename>
BRSHS> display info
BRSHS> </CFIF>
BRSHS> </CFDIRECOTRY>
BRSHS> </CFLOOP>
BRSHS> Thanks
BRSHS> Rodney
BRSHS>
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.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