Get ready for BLACK FRIDAY shopping starting in

Forums

ASP

This topic is locked

Search

Posted 17 Mar 2004 12:57:47
1
has voted
17 Mar 2004 12:57:47 A B posted:
Does anyone have asp search code for searching a particular folder for pdf files that have the same/similar titles to which the user enters.
Thanks!

Replies

Replied 17 Mar 2004 21:32:20
17 Mar 2004 21:32:20 Phil Shevlin replied:
You would use FSO to search through a folder to find file names matching your input

www.4guysfromrolla.com/webtech/faq/FileSystemObject/faq5.shtml
Replied 18 Mar 2004 12:09:12
18 Mar 2004 12:09:12 A B replied:
this seems all well and good but still not what i need, is there is some code out there to carry out this task it would be helpful
Replied 20 Mar 2004 20:52:32
20 Mar 2004 20:52:32 Phil Shevlin replied:
I guess you're looking for all the code to do this. I've not seen anything out there closer then the site I gave you.
Replied 22 Mar 2004 19:28:31
22 Mar 2004 19:28:31   replied:
If you want an easy way around without all the code and just want mactomedia to do it then do this.
Create a data base with a field that has the file name and extension.
Now create a search page.
Create a results page with the listing of the closest matches of what the user input in the search box(don't forget to use the repeat recordset. Now the field that you used to display the results highlight that and go down to the properties inspector and click on the folder next to the link box. select the datasources and then select the field that has the files in it. It should work just like a dynamic image.

Reply to this topic