Show a pdf file into Forms Developersuite10gR1 [message #438425] |
Fri, 08 January 2010 22:50 |
tamzidulamin
Messages: 132 Registered: October 2009 Location: Dhaka
|
Senior Member |
|
|
Dear,
I want to show a pdf file into my Forms or
show as external pdf file which is stored
my database blob column.My forms run into browser.
How can i solve my problem?
Have any builtin in Webutil functions...?
Regards.
Tamzidul Amin.
|
|
|
|
Re: Show a pdf file into Forms Developersuite10gR1 [message #438767 is a reply to message #438726] |
Tue, 12 January 2010 02:44 |
tamzidulamin
Messages: 132 Registered: October 2009 Location: Dhaka
|
Senior Member |
|
|
I have solve my Problem by the following way:
If WEBUTIL_FILE_TRANSFER.DB_To_Client ( clientFile => 'C:\Test.pdf' ,
tableName => 'Table_Name' ,
columnName => 'Blob_Column' ,
whereClause => 'Where_Clause'
)
then WEBUTIL_HOST.Host('IEXPLORE.EXE '||'C:\Test.pdf');
End If;
Have u any alternate idea...
Regards
Tamzidul Amin.
|
|
|
|
Re: Show a pdf file into Forms Developersuite10gR1 [message #438901 is a reply to message #438894] |
Tue, 12 January 2010 22:59 |
tamzidulamin
Messages: 132 Registered: October 2009 Location: Dhaka
|
Senior Member |
|
|
djmartin wrote on Wed, 13 January 2010 09:39You could use 'webutil' to find the 'temporary' disk location and copy your files to that location instead of 'c:'.
You may also want to delete the file once the user has finished looking at it.
David
Dear David,
Can u clear me that, how to use temporary location in C drive
and delete the file after user saw that file?
Thanks.
Tamzidul Amin.
|
|
|
Re: Show a pdf file into Forms Developersuite10gR1 [message #439065 is a reply to message #438901] |
Wed, 13 January 2010 22:51 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Google for "Oracle® Forms Developer, WebUtil User's Guide, Release 1.0.6" and in it go to section '4.2 Ported D2KWUTIL Functions' and look at 'Get_Temp_Directory'.
To delete a file go to section '4.3.3 WebUtil_File' and look at 'Delete_File'. You can also use 'client_host' to issue an OS 'delete'.
David
|
|
|