cfcatch issue

3 views
Skip to first unread message

Todd Sharp

unread,
Jun 28, 2010, 10:04:20 AM6/28/10
to Tour de ColdFusion
I assume you're using the same code for cftry and cfcatch (makes
sense) but you might want to change the header to be cftry/cfcatch.
Also, the demo doesn't actually work. Here's the code:

<!--- Notice misspelled tablename "employees" as "employeeas". --->
<cfquery name = "TestQuery" dataSource = "cfdocexamples">
SELECT *
FROM employees
</cfquery>


....but the table name isn't actually misspelled so the error never
gets thrown (thus there is nothing to catch).

James Brown

unread,
Jun 28, 2010, 10:55:42 AM6/28/10
to Tour de ColdFusion
I'll take a look and get this updated shortly. Thanks!



--
James
Reply all
Reply to author
Forward
0 new messages