Home » Developer & Programmer » Forms » blob (oracle 10g, form 6i)
icon7.gif  blob [message #498489] Thu, 10 March 2011 02:57 Go to next message
devendrapal26
Messages: 15
Registered: March 2011
Location: india
Junior Member

i want to insert a image in databse using form(using browse button), when i use commit_form,all text data are saved but image file is not save & form has also not given any error, so please give me suggestion or code for inserting image...
Re: blob [message #498511 is a reply to message #498489] Thu, 10 March 2011 03:22 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
You are, basically, asking people to debug code they don't see. Could you post code you wrote? (Please, format it and enclose into [code] tags to preserve formatting).

Also, you could search the board. You'll find quite a few topics discussing the same problem, so you might, actually, find the answer simply by reading other members' messages.
Re: blob [message #498591 is a reply to message #498489] Thu, 10 March 2011 06:46 Go to previous messageGo to next message
devendrapal26
Messages: 15
Registered: March 2011
Location: india
Junior Member

DECLARE
v_filename VARCHAR2(255);

BEGIN
v_filename := GET_FILE_NAME ('D:\', NULL,OPEN_FILE,SAVE_FILE);

IF v_filename is not null then


read_image_file(:LN_BROWSE_PATH.VC_FILE_PATH,'jpg','ln_browse.lg_file_image');


END IF;
:LN_BROWSE_PATH.VC_FILE_PATH:=v_filename;
END;
: blob [message #498766 is a reply to message #498511] Fri, 11 March 2011 00:53 Go to previous messageGo to next message
devendrapal26
Messages: 15
Registered: March 2011
Location: india
Junior Member

plese give me suggestiom
  • Attachment: Browser.fmb
    (Size: 160.00KB, Downloaded 1223 times)
Re: : blob [message #498960 is a reply to message #498766] Sat, 12 March 2011 04:22 Go to previous messageGo to next message
samssams2006
Messages: 28
Registered: July 2010
Junior Member
Dear,

Please read this post.

http://www.orafaq.com/forum/?t=msg&th=164771&154163/

Regards,
Irfan
icon7.gif   : blob [message #498980 is a reply to message #498960] Sat, 12 March 2011 07:58 Go to previous message
devendrapal26
Messages: 15
Registered: March 2011
Location: india
Junior Member

Dear irfan
Thanks for your Reply
Previous Topic: oracle.forms.webutil.ole.Olefunctions not found. problem
Next Topic: enable or disable current item in the block
Goto Forum:
  


Current Time: Tue Sep 17 05:08:29 CDT 2024