Arg81
Well-known member
I have set up a simple report that opens using Crystal Report Viewer.
Obviously from here it's possible to export the report to pdf or to print.
Here's my question / scenario.
I want to be able to email this report, as an attachment to an Outlook email. I have managed to get my application to open a new Outlook email and attach a test.doc, so that side of things is OK.
However, what I really want to do is have the app pass the parameter onto the report, have the report open and save automatically to a specified location, have the pdf file as the attachment to the email, and delete the file that was saved to disk.
The user can then send to whoever they like and add any information to the email.
Anyone have any ideas? preferably I would like the report to save as pdf, and for it to do it silently, i.e. the user doesn't see it come up on screen. Maybe I could put a splash screen with progress bar on while this happens.
cheers,
Luke
Obviously from here it's possible to export the report to pdf or to print.
Here's my question / scenario.
I want to be able to email this report, as an attachment to an Outlook email. I have managed to get my application to open a new Outlook email and attach a test.doc, so that side of things is OK.
However, what I really want to do is have the app pass the parameter onto the report, have the report open and save automatically to a specified location, have the pdf file as the attachment to the email, and delete the file that was saved to disk.
The user can then send to whoever they like and add any information to the email.
Anyone have any ideas? preferably I would like the report to save as pdf, and for it to do it silently, i.e. the user doesn't see it come up on screen. Maybe I could put a splash screen with progress bar on while this happens.
cheers,
Luke