Sure, but I'd avoid CFSELECT altogether.  Just output the results of the directory 
list like this:

<form action="whateverprocessingscript.cfm" method="post">
<select name="whatever">
<cfoutput query="myDirectory">
<option value="#name#">#name#
</cfoutput>
</select>
<input type="submit" value="Show File">
</form>
---mark


--------------------------------------------------------------
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net 
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--------------------------------------------------------------


> -----Original Message-----
> From: Claremont, Timothy S [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 07, 2000 8:02 AM
> To: '[EMAIL PROTECTED]'
> Subject: Using CFDIRECTORY with CFSELECT
> 
> 
> Can I combine CFSELECT and CFDIRECTORY to allow the end user to select a
> file that exists in a directory?
> 
> 
> The result I am after is a drop down list of all of the .XLS files in a
> given directory, so that the end user can choose the file that 
> they want to
> update via CFFILE.
> --------------------------------------------
> 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.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to