Run report 6i from form in rtf format [message #411255] |
Thu, 02 July 2009 19:01 |
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 |
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');
|
|
|