Home » Developer & Programmer » Reports & Discoverer » Mail generated report.
Mail generated report. [message #89431] Fri, 26 March 2004 15:53 Go to next message
Numan Khalid
Messages: 10
Registered: August 2003
Junior Member
Hi Experts,

             I hope u r all fine. well can anybody send me code to send generated report through email in .DOC or any other easy readable format. I will be thankful for this favour.

                              Thanks,

                                         Numan Khalid
Re: Mail generated report. [message #89437 is a reply to message #89431] Sun, 28 March 2004 18:47 Go to previous messageGo to next message
Maz
Messages: 10
Registered: March 2004
Junior Member
I found Adobe PDF format most elegant for sending reports by email. By default (File -> Mail) generates an eps (Encapsulated Post Script) file, but I could not open it on my win2k platform.
I used the folowing code in the fmb while calling the report :

Add_Parameter(pParam, 'DESFORMAT', TEXT_PARAMETER, 'PDF');
Add_Parameter(pParam, 'DESTYPE', TEXT_PARAMETER, 'Mail');

It works fine.
Re: Mail generated report. [message #89438 is a reply to message #89437] Sun, 28 March 2004 18:58 Go to previous message
Maz
Messages: 10
Registered: March 2004
Junior Member
Of course, the following lines will also be there in the procedure which calls the report:

DECLARE
pParam PARAMLIST;

Run_Product(REPORTS, '\NT3IZAPPSMMSREPORTS6INSPPSV1.rdf', SYNCHRONOUS, RUNTIME, FILESYSTEM, pParam, NULL);
Previous Topic: Urgent ! Create PDF File
Next Topic: Print in Character mode
Goto Forum:
  


Current Time: Thu Apr 18 09:55:49 CDT 2024