Hello everyone,
I have put together a search interface that searches through multiple
collections and it does all of this with absolutely no problem. However, I
am trying to figure out how to stipulate criteria for results pulled from
specific collections. Is it possible to isolate results from one collection
after a search has been performed? 

I have included a code illustration of what I would expect would do the
trick assuming I knew the correct syntax.

Any help with this would be greatly appreciated.

Thanks,

--Anne

<CFSEARCH NAME="results"
COLLECTION="searchengine, scholarships"
TYPE="Simple"
CRITERIA="(#form.criteria#)"
EXTERNAL="No">

<CFIF Collection EQ 'searchengine'>

Do this

<CFELSE>

Do something else

</CFIF> 

Anne D. Girardeau
Webmaster
John Tyler Community College
13101 Jefferson Davis Hwy.
Chester, VA 23831-5316
Telephone: (804) 706-5251
Fax: (804) 706-5249
Website: www.jtcc.edu


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Reply via email to