Solved

Need to create BLOB from JPEG images to store in Access DB and Display on Form

Posted on 2013-05-22
2
538 Views
Last Modified: 2013-06-07
I have an access 2007 application within which I would like to display pictures (images) of records on a form.  I would like the images to be stored in the db table (i.e. as OLE Objects), and for this, I understand that I need to store them as BLOBs.  My question is, how do I convert JPEG images I have into BLOBs and store them in a table?

Thanks for your help.

Tom
0
Comment
Question by:tpigielski
  • 2
2 Comments
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 39188309
Too much trouble IMHO.

If you are using Access 2007 or higher, this is much easier if you store the images in the new "attachment" datatype (and are using the 2007 format: .accdb).
(this uses BLOB technology in the background anyway)

Then this is all easy.

An interface is provided to select (open, save, or delete) the image.
By default, just dropping the image field on the form, will display it.

;-)

JeffCoachman
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 39188324
See this link:

http://office.microsoft.com/en-us/access-help/attach-files-and-graphics-to-the-records-in-your-database-HA001213852.aspx

And again, just creating a form from this table will allow you to simply double-click the image attachment field and add/display the image...

;-)
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now