Displaying Specified Image Oracle Forms 6i?

Mudassar

New member
I want to display a specified image if not form_success!
i want to display this image instead of messege
C:\R_ORACLE\PHOTOS99.jpeg

[code/]
declare
image_path varchar2(80) := 'C:\R_ORACLE\PHOTOS\';
photo_name varchar2(80);
begin
:system.message_level := '25';
photo_name := image_path||:empno||'.jpg';
read_image_file(photo_name,'jpg','snap');
if not form_success then
--message('This employee does not have a photo');
--message('This employee does not have a photo');
end if;
:system.message_level := '0';
end;
Code:
 
Back
Top