Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PDF file not created

204024Jun 27 2008 — edited Jul 1 2008
Hi all,

I'm trying to create a pdf file on the file system. Every seems to work fine, pages are generated as shown in the reports engine.
But there is no file present in c:\temp. I also added a when others exception to the code, but it doesn't fire.
I create the directory c:\temp with the same user as which I start forms, so I don't think it's a problem with the rights on this directory.

See my code below.

Anyone any ideas,

Thanx,

Pim


pl_id := Create_Parameter_List('tmpdata');
Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
Add_Parameter(pl_id,'BACKGROUND',TEXT_PARAMETER,'YES');
Add_Parameter(pl_id,'MAXIMIZE',TEXT_PARAMETER,'YES');
Add_Parameter
(pl_id,'P_CUSTOMER_NAME',TEXT_PARAMETER,GET_CUSTOMER_NAME);
Add_Parameter
p_id,'P_APPLICATION_NAME',TEXT_PARAMETER,GET_APPLICATION_NAME);
Add_Parameter(pl_id,'P_HEADER',TEXT_PARAMETER,'WERKBON');
Add_Parameter(pl_id,'LP_COMPLAINT_NR',TEXT_PARAMETER,where_clause_compl_nrs);
Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'FILE');
Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'PDF');
Add_Parameter(pl_id,'DESTINATION',TEXT_PARAMETER,'c:\test.pdf');
--Run the report:
Run_Product(REPORTS, report_name, SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 29 2008
Added on Jun 27 2008
4 comments
579 views