Have you tried using cfreport and the name attribute to hold the report in a variable, and then use cffile to save the report to the hard drive?
Regards, Andrew Scott http://www.andyscott.id.au/ > -----Original Message----- > From: Anthony Doherty [mailto:anthony.dohe...@oakleafcontracts.com] > Sent: Monday, 7 March 2011 9:01 PM > To: cf-talk > Subject: Emailing Coldfusion Reports > > > Hi Guys - im sure this has been asked before but after hours of searching > through books and google i cant find what im after. > > I have created an coldfusion report (.cfr) and set the output to PDF now > when i browse to the report everything works perfectly. > > I want to be able to save that report to a folder on the server and then attach > it to cfmail and send it to the client. > We need to save the pdfs incase they need to be opened at a later date but > we have a pretty big HDD so space wont be an issue. > > Ive tried using cfffile and cfdocument but i cant get it to save the report to > the folder. > > If i can figure that out i will be able to attach it to the cfmail. > > Can someone come back to me as soon as possible please - its pretty urgent > > Thanks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:342796 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm