Press "Enter" to skip to content

Reading An Image File Into Forms From Client In Oracle Forms 10g

Below is the example to read an image file from client in Oracle Forms 10g with the help of webutil library.

Note: Webutil library must be attached to the form.

DECLARE
v_file VARCHAR2(250):= CLIENT_GET_FILE_NAME(”,”,
‘Gif Files|*.gif|JPEG Files|*.jpg|’,
‘Select a photo to upload’,open_file,TRUE);

it_image_id ITEM := FIND_ITEM
(’emp.photo’);
BEGIN
CLIENT_IMAGE.READ_IMAGE_FILE(v_file,”,it_image_id);
END;
 

Vinish Kapoor

I am a full stack developer and writing about development. I document everything I learn and help thousands of people. foxinfotech.in is created, written, and maintained by me, it is built on WordPress, and hosted by Bluehost. Connect with me on Facebook, Twitter, GitHub and get notifications for new posts.

You may also like:

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *