We use CFDOCUMENT which has a save option, so no need for SAVECONTENT OR
CFFILE.

Works perfectly.

If it's really a report, I highly recommend CFREPORT and the Report Builder.

Regards
Dale Fraser

> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Mike Kear
> Sent: Monday, 13 March 2006 3:17 PM
> To: [email protected]
> Subject: [cfaussie] Problem creating PDF from CFMX7 output
> 
> I'm trying to produce a report, then email a PDF of the output to the
> system admin.    I am creating the PDF fine using CFDocument.
> 
> However when I save the pdf to a file using either the CFDocument tag, or
> using CFSAVECONTENT and CFFILE,  when i try to open the resultant file i
> get an error.      When i try to email the file nothing happens, which I
> suppose is because there's some problem with the PDF file created.
> 
> Here's the error I get when trying to open the saved PDF file:
> 
>  [quote]
> Adobe reader could not open 'Acr70A.tmp' because it is either not a
> supported file type or because the fiel has been damaged (for example it
> was sent as an email attachment and wasn't correctly encoded)
> [/quote]
> 
> Does anyone know what's causing that?  And/Or what i need to do to fix it
> ?
> 
> --
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion, PHP, ASP, ASP.NET <http://ASP.NET>  hosting from AUD$15/month
> 
> 




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to