An OLE object is a general object type in access like the BLOB in MySQL, but I AM USING IT ONLY FOR BMP. IT DOES WORK when inserting and viewing from the database. I have loaded jpg and bmp into the database from Access ***** IT DOES WORK****
What I am needing Access to do is give a preview of the image in the bound object frame which the frame will only do with a .bmp file. It only displays an icon for all other image files types.
**** IT WORKS. I CAN INSERT PICTURES JUST FINE. I NEED TO CHANGE THE FORMAT FOR DISPLAY PURPOSES. PLEASE STOP ADDRESSING THE RAMIFCATIONS OF USING BLOBS IN DATABASE AND WHEITHER OR NOT IT WILL WORK. IT CLEARLY WORKS.****
***** AGAIN THE IMAGES MUST BE SAVED IN MYSQL . IT IS A VERY VERY BIG REQUIREMENT **********
All I need is the code for a button to produce a save dialog box that will force save any image type selected as .bmp to the bound image frame.
Main Topics
Browse All Topics





by: thenelsonPosted on 2009-09-11 at 08:18:16ID: 25310420
An OLE object is not a BLOB and it is not a bmp file so what you plan will not work. to save an image file in a MySQL backend and display it an Access frontend, you mist save it as a BLOB and use code (http://support.microsoft. com/?kbid= 103257) or use an addin (http://www.ammara.com/art icles/imag esaccess.h tml). If you can afford buying the Ammara. software I would recommend that approach.
ImagesDemo for a sample of that.
You con also store the images outside of the database - see www.thenelson.name/#Linked