File Uploading

How to upload the any file e.g .doc, .xls etc through D2K form, on any particular loaction on the hard disk from any location?

Questions by jilsingh

Showing Answers 1 - 12 of 12 Answers

Arun Bhat K

  • Aug 11th, 2014
 

In order to upload a file into Forms from DB server, WebUtil can be utilised.

  Was this answer useful?  Yes

Below is brief description
To enable webutil, do following:
1) Attach webutil_lib.pll library into the form
2) Subclass webutil object group
3) Move webutil block as last block
You can use webutil_file_transfer package and client_to_db or client_to_db_with_progress function. It will upload file from client to BLOB D/B column

  Was this answer useful?  Yes

Guru Prasad

  • Mar 27th, 2016
 

Here is a sample code for Forms 6i

Example Builtin Function to Popup the windows explorer from Forms

Code
  1. PROCEDURE get_client_filename IS

  2. l_filename VARCHAR2(200);

  3. BEGIN

  4. l_filename := client_get_file_name ( directory_name =>

  5. , file_name => NULL

  6. , file_filter => PRO Files (*.PRO)|||tr||lower(:block.fieldname)||:block.fieldnamel||*.PRO|

  7. , message => NULL

  8. , dialog_type => NULL

  9. , select_file => NULL );

  10. :bl_laboratorio.file_name := l_filename;

  11. END;

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions