Generate report into PDF programmatically [message #206139] |
Tue, 28 November 2006 22:46 |
skkazmi
Messages: 44 Registered: April 2006
|
Member |
|
|
Hi All,
Is their any option to generate oracle report into PDF programmatically or have any command to generate it.
Without using the generate to file option in oracle 6i.
Khurram
|
|
|
Re: Generate report into PDF programmatically [message #206181 is a reply to message #206139] |
Wed, 29 November 2006 01:36 |
|
Khurram,
Although u can do it but b4 that do tell me wether u need an Preview or not.without a Preview its Simple Just make DESTYPE as File and DESFORMAT as PDF in Before Report Parameter Trigger and it will by Default save ur Document in a PDF format or Whatever the valid Format Supported by Reports in ur BIN Path.
Code for BeforParameter
-----------------------
function BeforePForm return boolean is
begin
:destype:='file';
:desformat:='pdf';
:desname:='C:\policy.pdf';/*path where you want to save the Document*/
return (TRUE);
end;
-----------------------
|
|
|