You can't do this in the filter.  Two workarounds: 1) Use a <cfif>
within a loop over your query results. 2) rename the file before and
after the call to <cfdirectory>.

Jim

-----Original Message-----
From: Claremont, Timothy S <[EMAIL PROTECTED]>
To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date: Thursday, September 07, 2000 8:52 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/cf-talk@houseoffusion.com/
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.

Reply via email to