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;
 

One Comment

  1. Gus Sanmartin Gus Sanmartin January 13, 2017

    E how about read and upload pdf?

Comments are closed.