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

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;

 

1 thought on “Reading An Image File Into Forms From Client In Oracle Forms 10g”

Comments are closed.