Home » Developer & Programmer » Reports & Discoverer » Run report 6i from form in rtf format (Oracle 10g Forms and reports 6i)
Run report 6i from form in rtf format [message #411255] Thu, 02 July 2009 19:01 Go to next message
kon786
Messages: 10
Registered: June 2009
Junior Member
Hi,
I am trying to run report from form 6i.when I give the file format as .rtf the report is generated but it is not readable.When I use file format as pdf it is good.Can any one help me what might be the problem?

SET_REPORT_OBJECT_PROPERTY(ln_repid, REPORT_DESFORMAT, 'rtf');(If I use this command then it comes out in good rtf format.But my PDF format gets corrupted.
SET_REPORT_OBJECT_PROPERTY(ln_repid, REPORT_DESFORMAT, 'pdf'); Is there any way I can get both rtf and pdf in a readable format.

[Updated on: Thu, 02 July 2009 20:10]

Report message to a moderator

Re: Run report 6i from form in rtf format [message #411259 is a reply to message #411255] Thu, 02 July 2009 20:29 Go to previous message
kon786
Messages: 10
Registered: June 2009
Junior Member
Ok I got solution.I have used if condition
If file like '%.pdf' then
SET_REPORT_OBJECT_PROPERTY(ln_repid, REPORT_DESFORMAT, 'pdf');
elsif file like '%.rtf' then
SET_REPORT_OBJECT_PROPERTY(ln_repid, REPORT_DESFORMAT, 'rtf');
Previous Topic: Mailing Label Report
Next Topic: Inquiry about Orarrp - Printing in not a default printer
Goto Forum:
  


Current Time: Fri Dec 09 23:15:20 CST 2016

Total time taken to generate the page: 0.09009 seconds