> I have this basic Cfsearch for a page that searches our collections:
> 
> <CFSEARCH NAME="SearchSnippets"
>    COLLECTION="databases"
>     TYPE="simple"
>       MAXROWS="20"
>    CRITERIA="#FORM.searchstring#">
> </CFIF>
> 
> How do I insert code that will display a "your search 
> generated 0 results" to display? I know this seems a bit 
> easy, but I don't do much coding and less with Cfsearch.
> 
> I tried <CFIF get.recordcount is 0> but am not sure it applies here.

CFSEARCH returns a query object, so you should be able to look at
SearchSnippets.RecordCount.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270481
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to