I am creating a form for product master items entry. During the execution of the form , I would like to add an image to Imagewell box from any folder path and save the image the in database. I created the field in prod_mstr table as Image with type as Blob. Kindly let me know if it not advisable to store in database. Can the images stored in some directory be accessed during the form entry and displayed. Can someone please help me how to do this.
With the tips from you and further exploring of our forum, I got the solution and it worked.
I put the following code in Action event of a push button. Thank you so much.
Dim picFile As FolderItem
picFile = GetOpenFolderItem("")
If picFile <> Nil Then
Dim pic As Picture
pic = Picture.Open(picFile)
ImageWell2.Image = pic