Thank you guys, Sorry my question is not clear I want to send that report directly from my delphi application.
How can I use the Windows API for that? Or any other method.
I am using Delphi 4
There is a problem with the HTML export from CR. You only get the first page, and no images, logos, as the export goes to a folder, but MAPI only gets told about the first file in that folder. It is a 'feature' that is still there in CR9.
If you want to do this from your Delphi App you will need to do what i did with cViewMANAGER, my report scheduler. Export the HTML to disk, and then write the code to send all the files in that folder email as attachments to an email message.
PDF export will work better as the MAPI just needs to send one file. And there is less chance of them editing the invoice for their own purposes.
Assuming your Delphi application can issue a RUN command,
it could call my Visual CUT software which would then invoke exporting and e-mailing of a Crystal report.
Visual CUT can also electronically burst a multi-invoice report so that each invoice gets exported and e-mailed to the customer of that invoice.
Cheers,
- Ido
CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.