Home » Developer & Programmer » Forms » Image in form
Image in form [message #203957] Fri, 17 November 2006 01:39 Go to next message
raizen_underground
Messages: 28
Registered: September 2006
Location: Manila, Phillipines
Junior Member
Hello Guru.....

I just want to ask if how to upload picture in form and automatically save it in database.... Is it possible....

Thanks in advance.....


raizen....
Re: Image in form [message #203962 is a reply to message #203957] Fri, 17 November 2006 01:47 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Search this forum for 'upload image' or 'save picture'.

David
Re: Image in form [message #209659 is a reply to message #203962] Sat, 16 December 2006 07:29 Go to previous message
mailtokkalyan
Messages: 65
Registered: December 2006
Location: Bangalore
Member

Ya we can upload a image using Image Field,
but you should write code for upload...
now i forgot that actually but you go to Help menu and type
Read_image and choose syntax and some examples..
you can save to database using Long RAW Data type....

that is create a table like pic_table,


Create Table pic_table (pics lond raw);

then in Forms go Data block wizard and create a block for that table and then type the Read_image code in New_form_instance event then type commit_form;

thats it.
Previous Topic: how to make use of Enter key in Forms6i?
Next Topic: problem related to property class
Goto Forum:
  


Current Time: Fri Dec 02 20:33:43 CST 2016

Total time taken to generate the page: 0.10992 seconds