> Yes, this code is broken. You have a logic error. The code inside the > CFCATCH will only execute of the code in the CFTRY fails. The syntax > on the CFCATCH tag is wrong as you have no type declared, and the code > on the first line inside the CFCATCH is the same as what you just > tried. So if it fails on the TRY it will fail inside the CFCATCH.
This is all very accurate except for one portion. CFCATCH doesn't require a type. It's generally recommended that you specify a type, but in the absence of that attribute it'll simply catch any exception thrown by the CFTRY. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358862 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm