|
Re: How To Store Image File in oracle and reterive on form [message #81457 is a reply to message #81454] |
Wed, 19 February 2003 23:44 |
Jameel Ahmed
Messages: 10 Registered: January 2003
|
Junior Member |
|
|
well u can store the image in the database in the following way
1 - make sure that the datatype of column u want to store image in must be of LONGRAW
2 - in the form create an object of image type. set its property as a database item and write the name of table column under database column property.
3- write the following code in when-button-click event or at any event when u want to populate image in the image item
READ_IMAGE_FILE(photo_filename,'TIFF','emp.emppic');
4- commit the form. image shall be stored in database
5- u can retreive the same picture by simply pressing EXECUTE_QUERY;
rgds
Jameel
|
|
|
|