Home » Developer & Programmer » Forms » Display Specified Image (ORACLE,9i,DEV,6i)
Display Specified Image [message #539363] Sat, 14 January 2012 00:09 Go to next message
ranafsd
Messages: 4
Registered: January 2012
Location: Pakistan
Junior Member

I want to display a specified image if not form_success!
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
     /*i want to display this image
       ('C:\R_ORACLE\PHOTOS\9999.jpg');*/
     --message('This employee does not have a photo');
     --message('This employee does not have a photo');
  end if;

  :system.message_level := '0';
end;


[EDITED by LF: fixed [code] tags]

[Updated on: Sat, 14 January 2012 04:14] by Moderator

Report message to a moderator

Re: Display Specified Image [message #539377 is a reply to message #539363] Sat, 14 January 2012 04:17 Go to previous message
Littlefoot
Messages: 21813
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Such a subject is frequently discussed; here are search results for "image 6i" in Forms forum - take a look, you might find something interesting. Also, feel free to search yourself (now you know how to do that).
Previous Topic: Different output in forms and pl sql
Next Topic: hyper links in forms
Goto Forum:
  


Current Time: Tue Jul 09 23:47:46 CDT 2024