you could certainly just nuke the offending records from the returned
recordset
when the list is rather small and it is just an output issue of not seeing
certain files (and hey, you also typically do NOT want to see the "." and
".." record anyway, right?), you could just have a variable set like
<cfset IgnoredFilesList = (.,..,myexcel.xls) >
and then
when you loop over the file list do a <CFIF> on the IgnoredFiles List for
the current row's filename.
----- Original Message -----
From: Claremont, Timothy S <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 07, 2000 10:27 AM
Subject: CFDIRECTORY Filtering?
>
> I want to display the contents of a directory. Using CFDIRECTORY, I can
> restrict the output to the files that end in .XLS. with the filter
property.
> This works just fine.
>
> However, there is one .xls file that I do NOT want to appear in the
listing.
> It always has the same name. Can I put a statement into the filter that
> says, effectively...
>
> filter="*.XLS" and NOT "Main_Table.xls"
>
> I get an error message when I try this in the filter statement. Can anyone
> suggest a workaround?
>
> Thanks!
> --------------------------------------------
> Tim Claremont
> Xerox Corporation
> --------------------------------------------
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.