I did try that but cfreport displays the report. I want to be able to just load the report on the sly send the email and then go to a confirmation page saying the report has been sent
>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/ > > > > >> 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:342797 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm