structured exception handling should be kept as close to the questionable
code as possible.  One of it's error types is "missinginclude", which should
also help to illustrate the logical error in placing opening and closing
error handling tags in seperate files to be included.  What you can do, is
include a cferror tag in your application.cfm tag or at the top of any
template containing CFTRY/CFCATCH/CFTHROW and wrap the rest of the page or
the code in question, with the CFTRY tags.

~Simon

> Simon Horwith
> Certified ColdFusion Developer
> Fig Leaf Software
> 1400 16th St NW, # 220
> Washington DC 20036
> 202.797.6570 (direct line)
> www.figleaf.com
> 


-----Original Message-----
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 11:38 AM
To: CF-Talk
Subject: <cftry> <cfcatch></cfcatch></cftry>


I just found, disappointingly enough that you can't have a <cftry> at the
top of a document via a CFinclude and the rest in another include at the
bottom?  Is there a work around.  I don't want to use a handler, and I want
the same error checking code on every page.

Please advise or throw ideas (even bones will do)

Thanks,

Neil

p.s. Running CF 4.51.

----- Original Message -----
From: "Hales, John M" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, December 13, 2000 11:17 AM
Subject: RE: CFreport and crystal reports


> I could never get it to work. We just use CF to pass the parameters to
> Crystal, and the CR Web Server to display the reports. That works well for
> us.
>
> HTH
> Mike Hales
>
> -----Original Message-----
> From: Katie Bessiere [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 13, 2000 11:08 AM
> To: CF-Talk
> Subject: CFreport and crystal reports
>
>
> has anyone had any luck using CFREPORT with crystal reports 8?  i've tried
> the workaround that Allaire recommends and I still can't get the tag to
> work.  It's very frustrating..
>
> If anyone has any ideas, please let me know..
>
> katie
>
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to