> From: Bert Dawson [mailto:[EMAIL PROTECTED] > In a custom tag you could use cfexit, but since you're in a > cfinclude you'll need to put everything in a cfelse: > <cfif records IS 0> > ....some code... > <cfelse> > ....more code.... > </cfif>
Read here: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p26.htm#wp10 98252 In particular, this note.... "If this tag is encountered outside the context of a custom tag, for example in the base page or an included page, it executes in the same way as cfabort. The cfexit tag can help simplify error checking and validation logic in custom tags. " Michael T. Tangorre ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.houseoffusion.com/banners/view.cfm?bannerid=11 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182522 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54