thanks I went with cfexit. I'm using the code as a custom tag so this works
great. I just didnt know there were other types of abort type tags.

Phil

-----Original Message-----
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Monday, October 25, 2004 2:59 PM
To: CF-Talk
Subject: RE: using cfabort in an include....


> 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



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=37

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182523
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to