Frm -47105 no image name specified &display error [message #83855] |
Sun, 21 December 2003 21:39 |
Jasmine
Messages: 23 Registered: December 2000
|
Junior Member |
|
|
hi
i am trying to insert blob field(a jpeg image ) thru forms
I am getting error
Frm -47105 no image name specified
The get_file_name in not working or the dialog bos is not opening
How to get the flow of the program as we debugger in vc++ any tools
To get the flow of program
How can we specify the image name
declare
filename varchar2(200);
BEGIN
:system.message_level := '25';
filename := GET_FILE_NAME('c:jas',null, 'Jpeg Images (jpg, jpeg)|*.jp*g|','save',OPEN_FILE,TRUE);
READ_IMAGE_FILE( filename,'jpg','img.image');
if not form_success then
message( 'Unable to read file "' || filename || '"' );
raise form_trigger_failure;
end if;
END;
Then after I wrote this code
This gives error
Frm -47109 cannot locate file
But the file's in same location
How can we give in double quotes ,single or anything else
When I am trying both ways it giving error cannot locate
Then I getting error
BEGIN
READ_IMAGE_FILE( :img.loc,'jpg','img.image');
if not form_success then
message( 'Unable to read file "' || filename || '"' );
raise form_trigger_failure;
end if;
END;
Pls hlp
jasmine
|
|
|
Re: Frm -47105 no image name specified &display error [message #83856 is a reply to message #83855] |
Mon, 22 December 2003 00:54 |
sameer_am2002
Messages: 129 Registered: September 2002
|
Senior Member |
|
|
Ther's some correction in the code.
declare
filename varchar2(200);
BEGIN
:system.message_level := 25 ;
filename := GET_FILE_NAME(directory_name => 'd:dirname' , File_Filter=> 'JPEG Files (*.jpg)|*.jpg|');
READ_IMAGE_FILE( filename,'jpg','img.image6');
if not form_success then
message( 'Unable to read file "' || filename || '"' );
raise form_trigger_failure;
end if;
:system.message_level := 0 ;
end ;
Also chk the size of jpg file.Maybe its too big.Try file size around 8-16 kb.
|
|
|
Re: Frm -47105 no image name specified &display error [message #83862 is a reply to message #83856] |
Mon, 22 December 2003 20:11 |
Jasmine
Messages: 23 Registered: December 2000
|
Junior Member |
|
|
i wrote this code but i am geting these errors.Not able to communicate with the file
frm-47105 no image name specofied
unable to read file ""
i think the get_file_name is not working properly
i wrote this in when button pressed of one button in the same block(img).i want to load diffrent files not one
declare
filename varchar2(200);
BEGIN
:system.message_level := 25 ;
filename := GET_FILE_NAME(directory_name => 'd:jas' , File_Filter=> 'JPEG Files (*.jpg)|*.jpg|');
READ_IMAGE_FILE( filename,'jpg','img.image');
if not form_success then
message( 'Unable to read file "' || filename || '"' );
raise form_trigger_failure;
end if;
:system.message_level := 0 ;
end ;
any other solutions
pls help
jasmine
|
|
|
|
Re: ccCOMPILATION ERROR [message #84158 is a reply to message #83862] |
Sat, 07 February 2004 22:58 |
B.NIRANJAN
Messages: 1 Registered: February 2004
|
Junior Member |
|
|
when i tried to compile the .pll from oracle 6i to 9i
i am getting the below mentioned error.
Frm -91507 .Pls confirm what's this error
expecting the solution at the earliest as possible.
|
|
|
|
|
|
|
|